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`