projects
/
spamassassin-cn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51889af
)
- cisti spamassassin-cn/usedcc iz debconf baze
author
Dinko Korunic
<kreator@carnet.hr>
Sat, 23 Aug 2008 17:26:42 +0000
(19:26 +0200)
committer
Dinko Korunic
<kreator@carnet.hr>
Sat, 23 Aug 2008 17:26:42 +0000
(19:26 +0200)
debian/postinst
patch
|
blob
|
history
diff --git
a/debian/postinst
b/debian/postinst
index
3853209
..
59f1d6c
100755
(executable)
--- a/
debian/postinst
+++ b/
debian/postinst
@@
-36,6
+36,11
@@
db_version 2.0
umask 022
+# clean up old debconf questions that are no longer in this package
+if dpkg --compare-versions "$2" lt 3.1.7-4; then
+ db_unregister spamassassin-cn/usedcc || true
+fi
+
db_get spamassassin-cn/usebayes || true
use_bayes="$RET"