- 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"
+ if dpkg --compare-versions "$2" lt "2:3.3.5"; then
+ 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"
+ fi