diff options
Diffstat (limited to 'extra/postfix/postfix-pcre.post-install')
-rw-r--r-- | extra/postfix/postfix-pcre.post-install | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/extra/postfix/postfix-pcre.post-install b/extra/postfix/postfix-pcre.post-install index b8d23833b66..6962486fe10 100644 --- a/extra/postfix/postfix-pcre.post-install +++ b/extra/postfix/postfix-pcre.post-install @@ -12,8 +12,14 @@ if cd /usr/lib/postfix/; then m=${i#dict_} m=${m%.so} echo -e "$m\t/usr/lib/postfix/$i\tdict_${m}_open" + # pcre also handles regexp + if [ "$m" = "pcre" ]; then + echo -e "regexp\t/usr/lib/postfix/$i\tdict_${m}_open" + fi + done fi echo '## AUTO END ##' ) >> $conf + |