Skip to content
Snippets Groups Projects
Commit 7d8d3735 authored by Till Brehm's avatar Till Brehm
Browse files

Limit patch requieremnt to servers with amavisd-new

parent 5e43b353
No related branches found
No related tags found
No related merge requests found
...@@ -97,7 +97,8 @@ require_once 'lib/classes/tpl.inc.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.'); 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 //** Get distribution identifier
$dist = get_distname(); $dist = get_distname();
......
...@@ -98,7 +98,8 @@ if(is_dir('/root/ispconfig') || is_dir('/home/admispconfig')) { ...@@ -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.'); 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 //** Get distribution identifier
$dist = get_distname(); $dist = get_distname();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment