From bf368d0d2582cab243b4c6045a9736b319b29cd0 Mon Sep 17 00:00:00 2001 From: sean Date: Tue, 9 Jul 2019 14:11:20 -0700 Subject: [PATCH] tweaks but not really --- setup.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/setup.sh b/setup.sh index 3d795f3..a49e0bb 100644 --- a/setup.sh +++ b/setup.sh @@ -8,7 +8,6 @@ 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." - echo "" else echo "Failed to add universal repository, update apt repository - possibly bad network connection." exit 1 @@ -58,8 +57,8 @@ bootmirror=""; rootraidz=""; for disk in `echo "$disks"`; do bootmirror="$bootmi # wait for the partitions to show up for disk in `echo "$disks"` do - while ! [ -f "/dev/disk/by-id/${disk}-part3" ]; do - sleep 1 + while ! [ -e "/dev/disk/by-id/${disk}-part3" ]; do + sleep 1s done done