Commit 98a14982 authored by Moritz Holtz's avatar Moritz Holtz

scripts: made liprepoctl version-independent

parent 2bc72ff3
......@@ -3,9 +3,10 @@
ACTION="$1"
FILENAME="/etc/apt/sources.list.d/lipoffline.list"
ACTIVATED=`test -e "$FILENAME"`
DIST_CODENAME="wily"
DIST_VERSION="15.10"
. /etc/lsb-release
DIST_CODENAME=$DISTRIB_CODENAME
DIST_VERSION=$DISTRIB_RELEASE
function install_repo()
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment