[pkg-fso-commits] [SCM] Various non-packaged files branch, master, updated. 98578198b91c2a0f471c96f1414c8a0b3eaeb294

Luca Capello luca at pca.it
Wed Feb 4 02:02:21 UTC 2009


The following commit has been merged in the master branch:
commit 98578198b91c2a0f471c96f1414c8a0b3eaeb294
Author: Luca Capello <luca at pca.it>
Date:   Wed Feb 4 03:01:31 2009 +0100

    install.sh: better syntax for $SINGLE_PART tests
    
    Thanks to Steffen Moeller <steffen_moeller at gmx.de> for the patch.

diff --git a/install.sh b/install.sh
index 1eb8872..a5fcb9b 100755
--- a/install.sh
+++ b/install.sh
@@ -602,7 +602,7 @@ cat > $INST_DIR/etc/fstab <<__END__
 rootfs	/		auto	defaults,errors=remount-ro,noatime	0 1
 __END__
 
-if ![ "$SINGLE_PART" = "true" ]; then
+if [ "$SINGLE_PART" != "true" ]; then
 cat >> $INST_DIR/etc/fstab <<__END__
 /dev/mmcblk0p1	/boot	auto	defaults,noatime			0 2
 __END__
@@ -800,7 +800,7 @@ unmount)
 # Stage unmount
 #
 echo "Unmounting microSD card partitions"
-if ! [ "$SINGLE_PART" = "true" ]; then
+if [ "$SINGLE_PART" != "true" ]; then
 	umount $INST_DIR/boot
 fi
 umount $INST_DIR

-- 
Various non-packaged files



More information about the pkg-fso-commits mailing list