From: Dinko Korunic Date: Tue, 16 Oct 2007 14:52:00 +0000 (+0000) Subject: r12: - oops, forgot to copy tempfiles X-Git-Tag: v3.3.1-1~18 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=spamassassin-cn.git;a=commitdiff_plain;h=2e278d7e063df5a699aecfaaf477a4c7107e7037 r12: - oops, forgot to copy tempfiles --- diff --git a/debian/postinst b/debian/postinst index ed61747..36ac9ec 100755 --- a/debian/postinst +++ b/debian/postinst @@ -209,10 +209,11 @@ if [ -f $examdir/local.cf ]; then fi # enable requested plugins in SA -list=$(find /etc/spamassassin -type -f -name 'v*.pre') +list=$(find /etc/spamassassin -type f -name 'v*.pre') for i in $list; do # enable DCC if requested if [ "$use_dcc" = "true" ]; then + cp -f $i $i.$$ plugin="loadplugin Mail::SpamAssassin::Plugin::DCC" cp_check_and_sed "^.*#.*$plugin.*$" \ "s/^.*#.*$plugin.*$/$plugin/g" $i.$$ || true @@ -223,6 +224,7 @@ for i in $list; do fi # enable DKIM + cp -f $i $i.$$ plugin="loadplugin Mail::SpamAssassin::Plugin::DKIM" cp_check_and_sed "^.*#.*$plugin.*$" \ "s/^.*#.*$plugin.*$/$plugin/g" $i.$$ || true