aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r5p6.le-101.fr>2019-11-29 20:42:03 +0100
committerRudy Bousset <rbousset@z2r5p6.le-101.fr>2019-11-29 20:42:03 +0100
commita7a2304ee49977b49b798405255f1270a5bb54ec (patch)
tree7389c8960cf97591f8b8a63c7fda3b65b52d723a
parentBetter shellcheck (diff)
downloadarch-installer-a7a2304ee49977b49b798405255f1270a5bb54ec.tar.gz
arch-installer-a7a2304ee49977b49b798405255f1270a5bb54ec.tar.bz2
arch-installer-a7a2304ee49977b49b798405255f1270a5bb54ec.tar.xz
arch-installer-a7a2304ee49977b49b798405255f1270a5bb54ec.tar.zst
arch-installer-a7a2304ee49977b49b798405255f1270a5bb54ec.zip
didn't work
-rwxr-xr-xarch-installer.sh5
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