From 7d89f56a66811cddbfdb60abea19f6945f1f51d9 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Tue, 02 Sep 2008 09:19:31 -0400
Subject: [PATCH] - Added support for openSUSE 11.0
---
install/lib/install.lib.php | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/install/lib/install.lib.php b/install/lib/install.lib.php
index d8eb0d6..78ef578 100644
--- a/install/lib/install.lib.php
+++ b/install/lib/install.lib.php
@@ -74,9 +74,20 @@
}
}
+ //** OpenSuSE
+ elseif(file_exists("/etc/SuSE-release")) {
+ if(stristr(file_get_contents('/etc/SuSE-release'),'11.0')) {
+ $distname = 'opensuse110';
+ swriteln("Operating System: openSUSE 11.0 or compatible\n");
+ }
+ }
+
+
//** Redhat
elseif(file_exists("/etc/redhat_release")) {
+ } else {
+ die('unrecognized linux distribution');
}
return $distname;
--
Gitblit v1.9.1