Skip to content
Snippets Groups Projects
Commit 3b8c4a2b authored by Till Brehm's avatar Till Brehm
Browse files

Updated version detection code for Ubuntu 17.04

parent de4d7883
No related branches found
No related tags found
No related merge requests found
...@@ -92,6 +92,10 @@ function get_distname() { ...@@ -92,6 +92,10 @@ function get_distname() {
$mainver = $ver; $mainver = $ver;
} }
switch ($mainver){ switch ($mainver){
case "17.04":
$relname = "(Zesty Zapus)";
$distconfid = 'ubuntu1604';
break;
case "16.10": case "16.10":
$relname = "(Yakkety Yak)"; $relname = "(Yakkety Yak)";
$distconfid = 'ubuntu1604'; $distconfid = 'ubuntu1604';
......
...@@ -87,6 +87,10 @@ class monitor_tools { ...@@ -87,6 +87,10 @@ class monitor_tools {
$mainver = $ver; $mainver = $ver;
} }
switch ($mainver){ switch ($mainver){
case "17.04":
$relname = "(Zesty Zapus)";
$distconfid = 'ubuntu1604';
break;
case "16.10": case "16.10":
$relname = "(Yakkety Yak)"; $relname = "(Yakkety Yak)";
$distconfid = 'ubuntu1604'; $distconfid = 'ubuntu1604';
......
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