aboutsummaryrefslogtreecommitdiffstats
path: root/arch-installer.sh
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r5p6.le-101.fr>2019-12-02 18:44:46 +0100
committerRudy Bousset <rbousset@z2r5p6.le-101.fr>2019-12-02 18:44:46 +0100
commit8d37cc72b47e569314410c1d601b7b90e6af8b9b (patch)
treeaace9619d9a3334794273cb5f0327d035406a9cc /arch-installer.sh
parentUI fix (diff)
downloadarch-installer-8d37cc72b47e569314410c1d601b7b90e6af8b9b.tar.gz
arch-installer-8d37cc72b47e569314410c1d601b7b90e6af8b9b.tar.bz2
arch-installer-8d37cc72b47e569314410c1d601b7b90e6af8b9b.tar.xz
arch-installer-8d37cc72b47e569314410c1d601b7b90e6af8b9b.tar.zst
arch-installer-8d37cc72b47e569314410c1d601b7b90e6af8b9b.zip
Now cat allowed
Diffstat (limited to 'arch-installer.sh')
-rwxr-xr-xarch-installer.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch-installer.sh b/arch-installer.sh
index 9889eaf..bc924b5 100755
--- a/arch-installer.sh
+++ b/arch-installer.sh
@@ -177,7 +177,7 @@ awk '{print $1"-------("$4")";}' | sed -n "$id"p) " >> blkline
done
sel=$(dialog --nocancel --title "$1"\
--menu "Choose the drive on which Arch Linux should be installed:" 12 55 4\
- $(cat blkline)\
+ $(< 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