summaryrefslogtreecommitdiffstats
path: root/extra/postfix/postfix-pcre.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'extra/postfix/postfix-pcre.post-install')
-rw-r--r--extra/postfix/postfix-pcre.post-install25
1 files changed, 0 insertions, 25 deletions
diff --git a/extra/postfix/postfix-pcre.post-install b/extra/postfix/postfix-pcre.post-install
deleted file mode 100644
index f15b00cf..00000000
--- a/extra/postfix/postfix-pcre.post-install
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh
-
-# update the dynamicmaps.cf
-conf=/etc/postfix/dynamicmaps.cf
-
-sed -i -e '/\#\# AUTO BEGIN/,/\#\# AUTO END/d' $conf
-
-(
-echo '## AUTO BEGIN ##'
-if cd /usr/lib/postfix/; then
- for i in *.so; do
- 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 "regex\t/usr/lib/postfix/$i\tdict_${m}_open"
- fi
-
- done
-fi
-
-echo '## AUTO END ##'
-) >> $conf
-