From f0bed3a1dd147e85ce4f3d0e41a8142fc050960e Mon Sep 17 00:00:00 2001 From: Marius Cramer <m.cramer@pixcept.de> Date: Wed, 05 Feb 2014 09:32:33 -0500 Subject: [PATCH] Fixed regex in distribution files --- install/dist/lib/gentoo.lib.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/install/dist/lib/gentoo.lib.php b/install/dist/lib/gentoo.lib.php index e7aac8c..40f552c 100644 --- a/install/dist/lib/gentoo.lib.php +++ b/install/dist/lib/gentoo.lib.php @@ -335,7 +335,7 @@ // Append the configuration for amavisd to the master.cf file $content = rf($conf['postfix']['config_dir'].'/master.cf'); // Only add the content if we had not addded it before - if(!preg_match('/^amavis\s+/m', $content)) { + if(!preg_match('/^amavis\s+unix\s+/m', $content)) { unset($content); $content = $this->get_template_file('master_cf_amavis', true); af($conf['postfix']['config_dir'].'/master.cf', $content); -- Gitblit v1.9.1