tweaks but not really

test
sean 7 years ago
parent 5e45529a0d
commit bf368d0d25

@ -8,7 +8,6 @@ echo "Updating local packages..."
apt-add-repository universe >/dev/null 2>/dev/null && apt update >/dev/null 2>/dev/null apt-add-repository universe >/dev/null 2>/dev/null && apt update >/dev/null 2>/dev/null
if [ "$?" = "0" ]; then if [ "$?" = "0" ]; then
echo "Done." echo "Done."
echo ""
else else
echo "Failed to add universal repository, update apt repository - possibly bad network connection." echo "Failed to add universal repository, update apt repository - possibly bad network connection."
exit 1 exit 1
@ -58,8 +57,8 @@ bootmirror=""; rootraidz=""; for disk in `echo "$disks"`; do bootmirror="$bootmi
# wait for the partitions to show up # wait for the partitions to show up
for disk in `echo "$disks"` for disk in `echo "$disks"`
do do
while ! [ -f "/dev/disk/by-id/${disk}-part3" ]; do while ! [ -e "/dev/disk/by-id/${disk}-part3" ]; do
sleep 1 sleep 1s
done done
done done

Loading…
Cancel
Save