diff options
-rwxr-xr-x | install.sh | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |