projects
/
spamassassin-cn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
postvlja bayes_auto_expire na 0
[spamassassin-cn.git]
/
debian
/
postinst
diff --git
a/debian/postinst
b/debian/postinst
index
e5d5a8f
..
3b4574f
100755
(executable)
--- a/
debian/postinst
+++ b/
debian/postinst
@@
-238,6
+238,11
@@
if [ -f $examdir/local.cf ]; then
$confdir/local.cf.$$ || true
echo "CN: Activated $trusted_networks as trusted networks"
$confdir/local.cf.$$ || true
echo "CN: Activated $trusted_networks as trusted networks"
+ cp_check_and_sed "^bayes_auto_expire 1" \
+ "s#^bayes_auto_expire .*#bayes_auto_expire 0#g" \
+ $confdir/local.cf.$$ || true
+ echo "CN: Set bayes_auto_expire to 0"
+
# different than template
if ! cmp -s $confdir/local.cf.$$ $confdir/local.cf; then
# backup if not zero size
# different than template
if ! cmp -s $confdir/local.cf.$$ $confdir/local.cf; then
# backup if not zero size