From 68af0bbdd603e8b8bb9eae2cbd55264ce0647ddb Mon Sep 17 00:00:00 2001 From: Till Brehm Date: Wed, 6 May 2015 18:33:08 +0200 Subject: [PATCH] Added Support for Ubuntu 15.04 in OS detect code. --- install/lib/install.lib.php | 3 +++ server/lib/classes/monitor_tools.inc.php | 3 +++ 2 files changed, 6 insertions(+) diff --git a/install/lib/install.lib.php b/install/lib/install.lib.php index 113d7eaa1..f17b98279 100644 --- a/install/lib/install.lib.php +++ b/install/lib/install.lib.php @@ -86,6 +86,9 @@ function get_distname() { $mainver = array_filter($mainver); $mainver = current($mainver).'.'.next($mainver); switch ($mainver){ + case "15.04": + $relname = "(Vivid Vervet)"; + break; case "14.10": $relname = "(Utopic Unicorn)"; break; diff --git a/server/lib/classes/monitor_tools.inc.php b/server/lib/classes/monitor_tools.inc.php index aa1875e9d..8b0862cfd 100644 --- a/server/lib/classes/monitor_tools.inc.php +++ b/server/lib/classes/monitor_tools.inc.php @@ -62,6 +62,9 @@ class monitor_tools { $mainver = array_filter($mainver); $mainver = current($mainver).'.'.next($mainver); switch ($mainver){ + case "15.04": + $relname = "(Vivid Vervet)"; + break; case "14.10": $relname = "(Utopic Unicorn)"; break; -- GitLab