diff options
author | Rudy Bousset <rbousset@z2r5p6.le-101.fr> | 2019-11-29 20:40:11 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r5p6.le-101.fr> | 2019-11-29 20:40:11 +0100 |
commit | ad724f4629335b11632be0c5aa7f861ad3978d70 (patch) | |
tree | 7dc12146de020dba70a2ef498ae78373e66b3286 /arch-installer.sh | |
parent | Well, it should work now (diff) | |
download | arch-installer-ad724f4629335b11632be0c5aa7f861ad3978d70.tar.gz arch-installer-ad724f4629335b11632be0c5aa7f861ad3978d70.tar.bz2 arch-installer-ad724f4629335b11632be0c5aa7f861ad3978d70.tar.xz arch-installer-ad724f4629335b11632be0c5aa7f861ad3978d70.tar.zst arch-installer-ad724f4629335b11632be0c5aa7f861ad3978d70.zip |
Better shellcheck
Diffstat (limited to 'arch-installer.sh')
-rwxr-xr-x | arch-installer.sh | 3 |
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 |