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:
parent
78d0284247
commit
8e90d79399
@ -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"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user