aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xarch-installer.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch-installer.sh b/arch-installer.sh
index b57264d..f6c69a4 100755
--- a/arch-installer.sh
+++ b/arch-installer.sh
@@ -111,9 +111,10 @@ awk '{print $1"-------("$4")";}' | sed -n "$id"p) " >> blkline
((dn--))
((id++))
done
+ line=$(cat blkline)
sel=$(dialog --nocancel --title "$1"\
--menu "Choose the drive on which Arch Linux should be installed:" 12 55 4\
- $(cat blkline)\
+ "$line"\
3>&1 1>&2 2>&3 3>&-)
drv="/dev/"$(lsblk | grep disk | awk '{print $1}' | sed -n "$sel"p)
rm -f blkline > /dev/null