Fix a bug in start_new_disc - cope with MAXCDS not being set.

This commit is contained in:
Steve McIntyre 2008-03-05 00:04:36 +00:00
parent 28ccaaf550
commit 09ed2f2196
2 changed files with 7 additions and 2 deletions

5
debian/changelog vendored
View File

@ -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 <otavio@ossystems.com.br> Thu, 14 Feb 2008 12:27:58 -0200
debian-cd (3.0.3) unstable; urgency=low

View File

@ -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