From 9438c07e25ff424022883adcccb109c5863fa2bb Mon Sep 17 00:00:00 2001 From: sean Date: Tue, 9 Jul 2019 13:29:16 -0700 Subject: [PATCH] tweaks test --- setup.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index 791495c..74fe523 100644 --- a/setup.sh +++ b/setup.sh @@ -1,9 +1,9 @@ #! /bin/bash -IFS=$'\n' +#IFS=$'\n' # fresh update on apt in Ubuntu -echo "Updating and upgrading local packages..." +echo "Updating local packages..." apt-add-repository universe >/dev/null 2>/dev/null && apt update >/dev/null 2>/dev/null if [ "$?" = "0" ]; then echo "Done." @@ -27,6 +27,7 @@ fi width=`tput cols` height=`tput lines` window=$((height - 5)) + # set line separator devices=""; for device in $(ls /dev/disk/by-id | grep -v part); do devices="$devices $device off"; done disks=`dialog --separate-output --no-cancel --no-items --title "Root devices" --checklist "Select boot drives" $height $width ${window}$devices 2>&1 1>/dev/tty`