From f629e20dfefd82a8da484e6d50d07975ffb34230 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Wed, 24 Oct 2007 10:20:11 -0400
Subject: [PATCH] Added support for Ubuntu 7.10

---
 install/lib/install.lib.php |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/install/lib/install.lib.php b/install/lib/install.lib.php
index 503b074..923f094 100644
--- a/install/lib/install.lib.php
+++ b/install/lib/install.lib.php
@@ -59,11 +59,18 @@
 //** Get distribution identifier
 function get_distname() {
 	
-	//** Debian
+	$distname = '';
+	
+	//** Debian or Ubuntu
 	if(file_exists('/etc/debian_version')) {
 	
 		if(trim(file_get_contents('/etc/debian_version')) == '4.0') {
 			$distname = 'debian40';
+			swriteln('Operating System: Debian 4.0 or compatible');
+		}
+		if(trim(file_get_contents('/etc/debian_version')) == 'lenny/sid') {
+			$distname = 'debian40';
+			swriteln('Operating System: Debian Lenny/Sid or compatible');
 		}
 	}
 	

--
Gitblit v1.9.1