1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-24 09:18:08 +00:00

Upgrade remote install script to use any ubuntu codename. Fixes #1393.

This commit is contained in:
grossmj 2018-08-28 17:41:06 +07:00
parent 78d0284247
commit 8e90d79399

View File

@ -87,14 +87,7 @@ done
set -e
export DEBIAN_FRONTEND="noninteractive"
UBUNTU_VERSION=`lsb_release -r -s`
if [ "$UBUNTU_VERSION" == "14.04" ]
then
UBUNTU_CODENAME="trusty"
else
UBUNTU_CODENAME="xenial"
fi
UBUNTU_CODENAME=`lsb_release -c -s`
log "Add GNS3 repository"