From a7a2304ee49977b49b798405255f1270a5bb54ec Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Fri, 29 Nov 2019 20:42:03 +0100 Subject: didn't work --- arch-installer.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/arch-installer.sh b/arch-installer.sh index f6c69a4..e49c635 100755 --- a/arch-installer.sh +++ b/arch-installer.sh @@ -111,10 +111,9 @@ 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\ - "$line"\ + $(cat blkline)\ 3>&1 1>&2 2>&3 3>&-) drv="/dev/"$(lsblk | grep disk | awk '{print $1}' | sed -n "$sel"p) rm -f blkline > /dev/null @@ -577,8 +576,6 @@ chmod +x finishit.sh mv finishit.sh /mnt/arch arch-chroot /mnt/arch <