projects
/
carnet-upgrade.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d255d60
)
Handle amavis upgrade.
author
Valentin Vidic
<Valentin.Vidic@CARNet.hr>
Thu, 23 Apr 2009 11:52:50 +0000
(13:52 +0200)
committer
Valentin Vidic
<Valentin.Vidic@CARNet.hr>
Thu, 23 Apr 2009 11:52:50 +0000
(13:52 +0200)
src/functions.sh
patch
|
blob
|
history
diff --git
a/src/functions.sh
b/src/functions.sh
index
4620e8a
..
8e09d21
100644
(file)
--- a/
src/functions.sh
+++ b/
src/functions.sh
@@
-949,7
+949,7
@@
upgrade_amavis () {
local conf
# remove init script diversion before upgrade
- if pkg amavisd-cn lt 3:2.4.2-4; then
+ if pkg amavisd-cn lt 3:2.6.1-1; then
if [ -L /etc/init.d/amavis -a -f /etc/init.d/amavis.amavisd-new ]; then
rm -vf /etc/init.d/amavis
dpkg-divert --remove /etc/init.d/amavis