[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/unstable, updated. debian/0.95+dfsg-1-16-gabb7e94

Stephen Gran steve at lobefin.net
Fri Mar 27 03:20:26 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 84ce86df2074812e8619d0426588012c466b5e69
Author: Stephen Gran <steve at lobefin.net>
Date:   Thu Mar 26 22:29:31 2009 -0400

    Hopefully this stops the hangs I'm seeing
    Signed-off-by: Stephen Gran <steve at lobefin.net>

diff --git a/debian/clamav-milter.postinst.in b/debian/clamav-milter.postinst.in
index 83ba53b..3a119b4 100644
--- a/debian/clamav-milter.postinst.in
+++ b/debian/clamav-milter.postinst.in
@@ -177,8 +177,6 @@ EOF
     ucf_upgrade_check "$CLAMAVMILTERCONF" "$DEBCONFFILE" /var/lib/ucf/cache/:etc:clamav:clamav-milter.conf
     rm -f "$DEBCONFFILE"
 
-    db_stop || true
-    
     if [ -n "$AddGroups" ]; then
       for group in $AddGroups; do
         id "$User" | grep -q "$group" || adduser "$User" "$group"
@@ -188,8 +186,6 @@ EOF
   else
     ucf_cleanup "$CLAMAVMILTERCONF"
     ucf_upgrade_check "$CLAMAVMILTERCONF" /usr/share/doc/clamav-milter/examples/clamav-milter.conf /var/lib/ucf/cache/:etc:clamav:clamav-milter.conf
-
-    db_stop || true
   fi
 
   chmod 644 $CLAMAVMILTERCONF || true
@@ -235,6 +231,7 @@ EOF
       ucf -p "$CLAMAVROTATEFILE"
     fi
   fi
+  db_stop || true
 
   ;;
   abort-upgrade|abort-remove|abort-deconfigure)

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list