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

Use 18.04 sources.list as template.

parent 0857307d
No related branches found
No related tags found
No related merge requests found
...@@ -15,11 +15,11 @@ fi ...@@ -15,11 +15,11 @@ fi
# update sources.list # update sources.list
rm -f /etc/apt/sources.list~ rm -f /etc/apt/sources.list~
echo "Updating /etc/apt/sources.list file." echo "Updating /etc/apt/sources.list file."
cp sources16.list /etc/apt/sources.list cp sources.list /etc/apt/sources.list
if ( rgrep '14.04' /etc/lsb-release >/dev/null ); then if ( rgrep '14.04' /etc/lsb-release >/dev/null ); then
sed -i 's@xenial@trusty@' /etc/apt/sources.list sed -i 's@bionic@trusty@' /etc/apt/sources.list
elif ( rgrep '18.04' /etc/lsb-release >/dev/null ); then elif ( rgrep '16.04' /etc/lsb-release >/dev/null ); then
sed -i 's@xenial@bionic@' /etc/apt/sources.list sed -i 's@bionic@xenial@' /etc/apt/sources.list
fi fi
# modify sources.list to use ubicast cache # modify sources.list to use ubicast cache
......
deb http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse
\ No newline at end of file
deb http://archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu xenial-security main restricted universe multiverse
\ No newline at end of file
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