From 4613498ced1a7fe0f7f577b13096a6f894cce7c1 Mon Sep 17 00:00:00 2001
From: Till Brehm <tbrehm@ispconfig.org>
Date: Tue, 18 Oct 2016 16:47:16 +0200
Subject: [PATCH] Added Ubuntu 16.10 in OS detection code.

---
 install/lib/install.lib.php              | 4 ++++
 server/lib/classes/monitor_tools.inc.php | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/install/lib/install.lib.php b/install/lib/install.lib.php
index c19736ad90..75977c597d 100644
--- a/install/lib/install.lib.php
+++ b/install/lib/install.lib.php
@@ -92,6 +92,10 @@ function get_distname() {
 				$mainver = $ver;
 			}
 			switch ($mainver){
+			case "16.10":
+				$relname = "(Yakkety Yak)";
+				$distconfid = 'ubuntu1604';
+				break;
 			case "16.04":
 				$relname = "(Xenial Xerus)";
 				$distconfid = 'ubuntu1604';
diff --git a/server/lib/classes/monitor_tools.inc.php b/server/lib/classes/monitor_tools.inc.php
index 9c39fc2988..a9c805ced5 100644
--- a/server/lib/classes/monitor_tools.inc.php
+++ b/server/lib/classes/monitor_tools.inc.php
@@ -87,6 +87,10 @@ class monitor_tools {
 				$mainver = $ver;
 			}
 			switch ($mainver){
+			case "16.10":
+				$relname = "(Yakkety Yak)";
+				$distconfid = 'ubuntu1604';
+				break;
 			case "16.04":
 				$relname = "(Xenial Xerus)";
 				$distconfid = 'ubuntu1604';
-- 
GitLab