|
@@ -47,6 +47,10 @@ elif [ "$os" = "ubuntu" ]; then
|
|
|
VERSION='ubuntu'
|
|
VERSION='ubuntu'
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
|
|
+# Configure apt to retry downloading on error
|
|
|
|
|
+if [ ! -f /etc/apt/apt.conf.d/80-retries ]; then
|
|
|
|
|
+ echo "APT::Acquire::Retries \"3\";" > /etc/apt/apt.conf.d/80-retries
|
|
|
|
|
+fi
|
|
|
|
|
|
|
|
# Clear the screen from apt output to prepare for upgrade installer experience
|
|
# Clear the screen from apt output to prepare for upgrade installer experience
|
|
|
clear
|
|
clear
|