Skip to content

Commit 9ec545a

Browse files
committed
Fixed: FS#2295 - Dovecot2 install on CentOS (6) broken
1 parent 0d20aff commit 9ec545a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

install/dist/lib/fedora.lib.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,9 @@ public function configure_dovecot()
279279

280280
$config_dir = $conf['dovecot']['config_dir'];
281281

282+
//* Use /etc/dovecot as config dir if exists
283+
if(is_dir('/etc/dovecot')) $config_dir = '/etc/dovecot';
284+
282285
//* Configure master.cf and add a line for deliver
283286
if(is_file($config_dir.'/master.cf')){
284287
copy($config_dir.'/master.cf', $config_dir.'/master.cf~2');

0 commit comments

Comments
 (0)