From 8a1774af3f685e0cbf6fce73f36028abb7260367 Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Sun, 26 Jun 2022 02:47:00 -0400 Subject: [PATCH] Fixed missing new line in questions --- install.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/install.sh b/install.sh index 7fb0ba9..542174e 100755 --- a/install.sh +++ b/install.sh @@ -14,19 +14,19 @@ echo -e '\nspecial devices:\n1. asus rog zephyrus g14 2020 (not yet supported)\n read -n 1 -r -p "formfactor: " formfactor fdisk -l -read -r -p "disk: " disk +read -rp "disk: " disk -read -r -p "swap (in GB): " swap +read -rp "swap (in GB): " swap -read -n 1 -r -p "clean install? (y/N) " wipe +read -n 1 -rp "clean install? (y/N) " wipe +echo +read -rp "username: " username -read -r -p "username: " username +read -rp "$username password: " userpassword -read -r -p "$username password: " userpassword +read -rp "root password: " rootpassword -read -r -p "root password: " rootpassword - -read -r -p "hostname: " hostname +read -rp "hostname: " hostname # stop questions # start hardware detection @@ -38,7 +38,7 @@ ram=$(echo "$(cat /proc/meminfo | grep 'MemTotal:' | awk '{print $2;}') / 100000 # start conditional questions if [ "$gpu" == 'Intel' ]; then echo -e '1. libva-intel-driver (intel igpus up to coffee lake)\n2. intel-media-driver (intel igpus/dgpus newer than coffee lake)\n' - read -n 1 -r -p "va-api driver: " intel_vaapi_driver + read -n 1 -rp "va-api driver: " intel_vaapi_driver fi # stop conditional questions