From 09ed2f2196a7a6d3640a43a04d4598257c8a9dde Mon Sep 17 00:00:00 2001 From: Steve McIntyre <93sam@debian.org> Date: Wed, 5 Mar 2008 00:04:36 +0000 Subject: [PATCH] Fix a bug in start_new_disc - cope with MAXCDS not being set. --- debian/changelog | 5 +++++ tools/start_new_disc | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 5f5fa1b2..f8b38762 100644 --- a/debian/changelog +++ b/debian/changelog @@ -78,6 +78,8 @@ debian-cd (3.0.4) UNRELEASED; urgency=low [ Steve McIntyre ] * Significant cleanup of list2cds. Closes: #451237 + * tools/imagesums: use newer features in latest mkisofs/genisoimage to grab + pre-calculated MD5 and SHA1 checksums directly from the jigdo file. [ Otavio Salvador ] * Make sure we include laptop-detect on arches that are know to have @@ -85,6 +87,9 @@ debian-cd (3.0.4) UNRELEASED; urgency=low * Make sure we include grub-pc since it's used when GPT disk label is choosen. + [ Steve McIntyre ] + * Fix a bug in start_new_disc - cope with MAXCDS not being set. + -- Otavio Salvador Thu, 14 Feb 2008 12:27:58 -0200 debian-cd (3.0.3) unstable; urgency=low diff --git a/tools/start_new_disc b/tools/start_new_disc index 16eba7e4..15c37d31 100755 --- a/tools/start_new_disc +++ b/tools/start_new_disc @@ -130,13 +130,13 @@ if [ $DISKNUM = 1 ] ; then echo " Adding .disk/cd_type" if [ "$COMPLETE"x = "1"x ]; then if [ $DISKTYPE = DVD ]; then - if [ $MAXCDS -eq 1 ]; then + if [ "$MAXCDS"x = "1"x ]; then echo "dvd/single" > $CDDIR/.disk/cd_type else echo "dvd" > $CDDIR/.disk/cd_type fi else - if [ $MAXCDS -eq 1 ]; then + if [ "$MAXCDS"x = "1"x ]; then echo "full_cd/single" > $CDDIR/.disk/cd_type else echo "full_cd" > $CDDIR/.disk/cd_type