diff options
Diffstat (limited to 'arch-installer.sh')
-rwxr-xr-x | arch-installer.sh | 5 |
1 files changed, 1 insertions, 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 <<EOF ./finishit.sh -rm finishit.sh -reboot EOF rm -f /mnt/arch/finishit.sh #arch-chroot /mnt/arch << ARCH_CHROOT_CMDS |