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

Auke Kok sofar at lunar-linux.org
Sun May 8 15:15:50 UTC 2005


Author: sofar
Date: 2005-05-08 15:15:48 +0000 (Sun, 08 May 2005)
New Revision: 14667

Modified:
   lunar-iso/trunk/lunar-install/sbin/lunar-install
Log:
This looks better and doesn't start at 0.


Modified: lunar-iso/trunk/lunar-install/sbin/lunar-install
===================================================================
--- lunar-iso/trunk/lunar-install/sbin/lunar-install	2005-05-08 14:46:12 UTC (rev 14666)
+++ lunar-iso/trunk/lunar-install/sbin/lunar-install	2005-05-08 15:15:48 UTC (rev 14667)
@@ -565,7 +565,7 @@
             if [ -f /var/cache/lunar/aaa_base.tar.bz2 ]; then
 		echo XXX
 	        echo $(( CNT * 100 / NUM ))
-	        echo "\n$CNT: Installing aaa_base: base directories and files\n"
+	        echo "\n$((CNT+1)): 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 "\n$CNT: Installing aaa_dev: device nodes\n"
+		echo "\n$((CNT+1)): 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 "\n$CNT: Installing $MOD-$VER ($SIZ)\n\n($(basename /var/cache/lunar/$MOD-$VER-*.tar.bz2))\n"
+	        echo "\n$((CNT+1)): 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 "\n$CNT: Installing moonbase"
+                echo "\n$((CNT+1)): Installing moonbase"
 		echo XXX
                   (
                     cd $TARGET/var/lib/lunar
@@ -604,7 +604,7 @@
 	    # transfer sources
 	        echo XXX
 		echo $(( CNT * 100 / NUM ))
-		echo "\n$CNT: Copying sources"
+		echo "\n$((CNT+1)): Copying sources"
 		echo "XXX"
 		cp /var/spool/lunar/* $TARGET/var/spool/lunar/
 	        (( CNT++ ))



More information about the Lunar-commits mailing list