Skip to content
Snippets Groups Projects
Commit b5f64f66 authored by tbrehm's avatar tbrehm
Browse files

Fixed a bug in the installer that caused additional lines to be appended to...

Fixed a bug in the installer that caused additional lines to be appended to postfix master.cf on every update.
parent cd972d8d
No related branches found
No related tags found
No related merge requests found
......@@ -504,7 +504,7 @@ class installer_base {
if(is_file($conf["postfix"]["config_dir"].'/master.cf')) copy($conf["postfix"]["config_dir"].'/master.cf',$conf["postfix"]["config_dir"].'/master.cf~');
$content = rf("tpl/master_cf_amavis.master");
// Only add the content if we had not addded it before
if(!stristr("127.0.0.1:10025 inet n - - - - smtpd",$content)) {
if(!stristr("127.0.0.1:10025",$content)) {
af($conf["postfix"]["config_dir"].'/master.cf',$content);
}
......
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