admin (AC-branch): ftp/geniso-poldek - put CD01, DVD01 etc. in iso...

hawk hawk at pld-linux.org
Sun Jul 23 19:59:17 CEST 2006


Author: hawk                         Date: Sun Jul 23 17:59:17 2006 GMT
Module: admin                         Tag: AC-branch
---- Log message:
- put CD01, DVD01 etc. in iso file names instead of CD1, DVD1...

---- Files affected:
admin/ftp:
   geniso-poldek (1.15.2.28 -> 1.15.2.29) 

---- Diffs:

================================================================
Index: admin/ftp/geniso-poldek
diff -u admin/ftp/geniso-poldek:1.15.2.28 admin/ftp/geniso-poldek:1.15.2.29
--- admin/ftp/geniso-poldek:1.15.2.28	Sun Jul 23 19:46:19 2006
+++ admin/ftp/geniso-poldek	Sun Jul 23 19:59:12 2006
@@ -218,7 +218,7 @@
     for NR in $(seq 1 ${COUNT}); do
 	ISODIR=$MAINISODIR/$NR
 
-	ISONAME="pld-${DIST}-${SUBVER}-${MEDIA}${NR}.${ARCH}"	
+	ISONAME="pld-${DIST}-${SUBVER}-${MEDIA}$(printf "%02d" "$NR").${ARCH}"	
 	if [ "${NR}" = "1" ]; then
 	    BOOTOPT=""
 	    case "$ARCH" in
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/admin/ftp/geniso-poldek?r1=1.15.2.28&r2=1.15.2.29&f=u



More information about the pld-cvs-commit mailing list