[Lunar-commits] r14661 - lunar-iso/trunk/lunar-install/sbin

Auke Kok sofar at lunar-linux.org
Sun May 8 14:10:08 UTC 2005


Author: sofar
Date: 2005-05-08 14:10:06 +0000 (Sun, 08 May 2005)
New Revision: 14661

Modified:
   lunar-iso/trunk/lunar-install/sbin/lunar-install
Log:
Add a little bit more about progress: step number


Modified: lunar-iso/trunk/lunar-install/sbin/lunar-install
===================================================================
--- lunar-iso/trunk/lunar-install/sbin/lunar-install	2005-05-08 13:42:08 UTC (rev 14660)
+++ lunar-iso/trunk/lunar-install/sbin/lunar-install	2005-05-08 14:10:06 UTC (rev 14661)
@@ -565,7 +565,7 @@
             if [ -f /var/cache/lunar/aaa_base.tar.bz2 ]; then
 		echo XXX
 	        echo $(( CNT * 100 / NUM ))
-	        echo "\nInstalling aaa_base: base directories and files\n"
+	        echo "\n$NUM: Installing aaa_base: base directories and files\n"
 		echo XXX
 	        tar xjf /var/cache/lunar/aaa_base.tar.bz2 2> /dev/null
 	        (( CNT++ ))
@@ -573,7 +573,7 @@
 	    if [ -f /var/cache/lunar/aaa_dev.tar.bz2 ]; then
 	        echo XXX
 	        echo $(( CNT * 100 / NUM ))
-		echo "\nInstalling aaa_dev: device nodes\n"
+		echo "\n$NUM: Installing aaa_dev: device nodes\n"
 		echo XXX
 		tar xjf /var/cache/lunar/aaa_dev.tar.bz2 2> /dev/null
 	        (( CNT++ ))
@@ -584,7 +584,7 @@
 	        SIZ=$(echo $LINE | cut -d: -f5)
 		echo XXX
 	        echo $(( CNT * 100 / NUM ))
-	        echo "\nInstalling $MOD-$VER ($SIZ)\n\n($(basename /var/cache/lunar/$MOD-$VER-*.tar.bz2))\n"
+	        echo "\n$NUM: Installing $MOD-$VER ($SIZ)\n\n($(basename /var/cache/lunar/$MOD-$VER-*.tar.bz2))\n"
 		echo XXX
 		transfer_package $MOD
 	        (( CNT++ ))
@@ -592,7 +592,7 @@
             if [ -f /var/lib/lunar/moonbase.tar.bz2 ] ; then
 		echo XXX
 	        echo $(( CNT * 100 / NUM ))
-                echo "\nInstalling moonbase"
+                echo "\n$NUM: Installing moonbase"
 		echo XXX
                   (
                     cd $TARGET/var/lib/lunar
@@ -604,12 +604,12 @@
 	    # transfer sources
 	        echo XXX
 		echo $(( CNT * 100 / NUM ))
-		echo "\nCopying sources"
+		echo "\n$NUM: Copying sources"
 		echo "XXX"
 		cp /var/spool/lunar/* $TARGET/var/spool/lunar/
 	        (( CNT++ ))
 	    # done
-	) | $DIALOG --title "Installing $NUM packages" --gauge "" 10 70 0 
+	) | $DIALOG --title " Installing $NUM packages " --gauge "" 10 70 0 
 
         # setup list of installed packages etc.
         echo "moonbase:%ISO_DATE%:installed:%ISO_DATE%:37M" >> $TARGET/var/state/lunar/packages



More information about the Lunar-commits mailing list