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

Auke Kok sofar at lunar-linux.org
Wed May 18 17:22:01 UTC 2005


Author: sofar
Date: 2005-05-18 17:22:00 +0000 (Wed, 18 May 2005)
New Revision: 14814

Modified:
   lunar-iso/trunk/lunar-install/sbin/lunar-install
Log:
Moooo, this is so complex


Modified: lunar-iso/trunk/lunar-install/sbin/lunar-install
===================================================================
--- lunar-iso/trunk/lunar-install/sbin/lunar-install	2005-05-18 17:19:19 UTC (rev 14813)
+++ lunar-iso/trunk/lunar-install/sbin/lunar-install	2005-05-18 17:22:00 UTC (rev 14814)
@@ -399,7 +399,9 @@
 	    FORMAT=no
 	fi
 	MNT_OPTS=$(determine_mount_opts $FSYS) &&
-	MNT_PNT=${MNT_PNT%%/}
+	if [ "$MNT_PNT" != "/" ]; then
+	    MNT_PNT=${MNT_PNT%%/}
+	fi
         FSCK_PASS=$(determine_fsck_pass $FSYS $MNTPNT) &&
 
         PARTITIONS=(${PARTITIONS[@]} "$PART:$MNTPNT:$FSYS:$MNT_OPTS:$FSCK_PASS:$CHECK:$FORCE:$FORMAT" )



More information about the Lunar-commits mailing list