From ade8d1ac87a00b4d8d9733670418860e64a282b8 Mon Sep 17 00:00:00 2001
From: Holden Rohrer
Date: Fri, 17 Apr 2020 01:17:10 -0400
Subject: added comment as to deficiencies of ${PART} detection
---
install.sh | 1 +
1 file changed, 1 insertion(+)
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
--
cgit