From 68af0bbdd603e8b8bb9eae2cbd55264ce0647ddb Mon Sep 17 00:00:00 2001
From: Till Brehm <tbrehm@ispconfig.org>
Date: Wed, 06 May 2015 12:33:08 -0400
Subject: [PATCH] Added Support for Ubuntu 15.04 in OS detect code.

---
 server/lib/classes/monitor_tools.inc.php |    3 +++
 install/lib/install.lib.php              |    3 +++
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/install/lib/install.lib.php b/install/lib/install.lib.php
index 113d7ea..f17b982 100644
--- a/install/lib/install.lib.php
+++ b/install/lib/install.lib.php
@@ -86,6 +86,9 @@
 			$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 aa1875e..8b0862c 100644
--- a/server/lib/classes/monitor_tools.inc.php
+++ b/server/lib/classes/monitor_tools.inc.php
@@ -62,6 +62,9 @@
 				$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;

--
Gitblit v1.9.1