1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 11:18:11 +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 set -e
export DEBIAN_FRONTEND="noninteractive" export DEBIAN_FRONTEND="noninteractive"
UBUNTU_CODENAME=`lsb_release -c -s`
UBUNTU_VERSION=`lsb_release -r -s`
if [ "$UBUNTU_VERSION" == "14.04" ]
then
UBUNTU_CODENAME="trusty"
else
UBUNTU_CODENAME="xenial"
fi
log "Add GNS3 repository" log "Add GNS3 repository"