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 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/install/lib/install.lib.php b/install/lib/install.lib.php
index e51d643..d27ff11 100644
--- a/install/lib/install.lib.php
+++ b/install/lib/install.lib.php
@@ -149,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 {
@@ -606,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