aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index bcbc318..eb6b81f 100755
--- a/install.sh
+++ b/install.sh
@@ -13,6 +13,7 @@ fi
export BASE=$(basename $DRIVE)
export PART="/dev/$(basename $(echo /sys/class/block/$BASE/$BASE* | \
xargs -n1 echo | sed 1q | rev | cut -c 2- | rev ))"
+ # Assumes there is SOME partitioning
# List all partitions of device, get first one, remove last char.
umount $DRIVE*
if [ ! -e installed ]; then