Skip to content
Snippets Groups Projects
Commit fc217e4a authored by Stéphane Diemer's avatar Stéphane Diemer
Browse files

Update before changing sources.list.

parent fb6bb98e
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,8 @@ fi
# migrate to Ubuntu 16.04 / apply sources.list
if ( rgrep '14.04' /etc/lsb-release >/dev/null ); then
echo "Upgrading to Ubuntu 16.04."
apt-get update
apt-get dist-upgrade -y
cp sources16.list /etc/apt/sources.list
apt-get update
DEBIAN_FRONTEND=noninteractive /usr/bin/apt-get dist-upgrade -o Dpkg::Options::="--force-confold" --force-yes -y
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment