Commit 9ec545af authored by tbrehm's avatar tbrehm

Fixed: FS#2295 - Dovecot2 install on CentOS (6) broken

parent 0d20afff
......@@ -279,6 +279,9 @@ class installer_dist extends installer_base {
$config_dir = $conf['dovecot']['config_dir'];
//* Use /etc/dovecot as config dir if exists
if(is_dir('/etc/dovecot')) $config_dir = '/etc/dovecot';
//* Configure master.cf and add a line for deliver
if(is_file($config_dir.'/master.cf')){
copy($config_dir.'/master.cf', $config_dir.'/master.cf~2');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment