Browse Source

Merge branch 'bugfix-upgrade' into develop

Kristan Kenney 6 years ago
parent
commit
280a081a21
1 changed files with 4 additions and 0 deletions
  1. 4 0
      install/upgrade/0.10.0-190430.sh

+ 4 - 0
install/upgrade/0.10.0-190430.sh

@@ -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