diff --git a/install/install.php b/install/install.php index d2aaf6087c4f06cb4a6761710c74128417a574ef..a324669867fc1a06bbf8c5acb76f76bc3ed87ef3 100644 --- a/install/install.php +++ b/install/install.php @@ -97,7 +97,8 @@ require_once 'lib/classes/tpl.inc.php'; die('We will stop here. There is already a ISPConfig installation, use the update script to update this installation.'); }*/ -if(!is_installed('patch')) die('The patch command is missing. Install patch command and start installation again.'); +// Patch is required to reapir latest amavis versions +if(is_installed('amavisd-new') && !is_installed('patch')) die('The patch command is missing. Install patch command and start installation again.'); //** Get distribution identifier $dist = get_distname(); diff --git a/install/update.php b/install/update.php index 360d88bff3fbaec4c7579e6e163c350b33ac2fe0..62e8d5ef4a73f4a18fd32d58108146c3cec25eee 100644 --- a/install/update.php +++ b/install/update.php @@ -98,7 +98,8 @@ if(is_dir('/root/ispconfig') || is_dir('/home/admispconfig')) { die('This software cannot be installed on a server wich runs ISPConfig 2.x.'); } -if(!is_installed('patch')) die('The patch command is missing. Install patch command and start installation again.'); +// Patch is required to reapir latest amavis versions +if(is_installed('amavisd-new') && !is_installed('patch')) die('The patch command is missing. Install patch command and start update again.'); //** Get distribution identifier $dist = get_distname();