tweak
This commit is contained in:
@@ -2,12 +2,11 @@
|
||||
|
||||
# fresh update on apt in Ubuntu
|
||||
echo "Updating and upgrading local packages..."
|
||||
#apt-add-repository universe >/dev/null 2>/dev/null && apt update >/dev/null 2>/dev/null && apt upgrade -y >/dev/null 2>/dev/null
|
||||
apt-add-repository universe && apt update && apt upgrade -y
|
||||
apt-add-repository universe >/dev/null 2>/dev/null && apt update >/dev/null 2>/dev/null
|
||||
if [ "$?" = "0" ]; then
|
||||
echo "Done.\n"
|
||||
else
|
||||
echo "Failed to add universal repository, update apt repository, or upgrade - possibly bad network connection"
|
||||
echo "Failed to add universal repository, update apt repository - possibly bad network connection"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user