From c2f53e76fde1ab534e67a9227d4f0adcde05dfa4 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Wed, 28 Oct 2009 14:05:37 -0400 Subject: [PATCH] Fix in maildrop plugin. --- install/lib/install.lib.php | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/install/lib/install.lib.php b/install/lib/install.lib.php index 65d9d82..d27ff11 100644 --- a/install/lib/install.lib.php +++ b/install/lib/install.lib.php @@ -134,6 +134,12 @@ $distid = 'fedora9'; $distbaseid = 'fedora'; swriteln("Operating System: Fedora 10 or compatible\n"); + } elseif(stristr($content,'Fedora release 10')) { + $distname = 'Fedora'; + $distver = '11'; + $distid = 'fedora9'; + $distbaseid = 'fedora'; + swriteln("Operating System: Fedora 11 or compatible\n"); } elseif(stristr($content,'CentOS release 5.2 (Final)')) { $distname = 'CentOS'; $distver = '5.2'; @@ -143,7 +149,7 @@ } elseif(stristr($content,'CentOS release 5.3 (Final)')) { $distname = 'CentOS'; $distver = '5.3'; - $distid = 'centos52'; + $distid = 'centos53'; $distbaseid = 'fedora'; swriteln("Operating System: CentOS 5.3 or compatible\n"); } else { @@ -600,7 +606,7 @@ } function is_installed($appname) { - exec('which '.escapeshellcmd($appname).' > /dev/null 2> /dev/null',$out); + exec('which '.escapeshellcmd($appname).' 2> /dev/null',$out); if(isset($out[0]) && stristr($out[0],$appname)) { return true; } else { -- Gitblit v1.9.1