summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/parted-usb.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/parted-usb.sh b/src/parted-usb.sh
index 3e4778f..3bf95be 100755
--- a/src/parted-usb.sh
+++ b/src/parted-usb.sh
@@ -272,7 +272,10 @@ samizdat_linux_dir=/
272DEFAULT_ROOTFS=rootfs/samizdat.seed.btrfs 272DEFAULT_ROOTFS=rootfs/samizdat.seed.btrfs
273#DEFAULT_PATCHFS=rootfs/samizdat.patch.btrfs 273#DEFAULT_PATCHFS=rootfs/samizdat.patch.btrfs
274 274
275if [ "$ROOTFS" ] 275if [ "$ROOTFS" = none ]
276then
277 ROOTFS=
278elif [ "$ROOTFS" ]
276then 279then
277 [ -f "$ROOTFS" ] || die "Not a file: $ROOTFS" 280 [ -f "$ROOTFS" ] || die "Not a file: $ROOTFS"
278elif [ -f "$DEFAULT_ROOTFS" ] 281elif [ -f "$DEFAULT_ROOTFS" ]