[Pkg-dspam-commits] [SCM] Debian packages for the DSPAM anti-spam filter branch, master, updated. debian/3.9.1_rc1+git20110419.29261fb+dfsg-1-1-gb6277eb

Julien Valroff julien at kirya.net
Sun May 8 13:53:54 UTC 2011


The following commit has been merged in the master branch:
commit b6277ebbaf84968d13b369d6420f1903051598d9
Author: Julien Valroff <julien at kirya.net>
Date:   Sun May 8 15:44:50 2011 +0200

    Fix typos in dspam postinst script which caused the package to be uninstallable

diff --git a/debian/changelog b/debian/changelog
index 44e21af..d1a2e9e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+dspam (3.9.1~rc1+git20110419.29261fb+dfsg-2) unstable; urgency=low
+
+  * Fix typos in dspam postinst script which caused the package to be 
+    uninstallable 
+
+ -- Julien Valroff <julien at debian.org>  Sun, 08 May 2011 15:44:26 +0200
+
 dspam (3.9.1~rc1+git20110419.29261fb+dfsg-1) unstable; urgency=low
 
   [ Julien Valroff ]
diff --git a/debian/dspam.postinst b/debian/dspam.postinst
index d6cb17e..7affb77 100644
--- a/debian/dspam.postinst
+++ b/debian/dspam.postinst
@@ -37,9 +37,9 @@ set_dspam_perms() {
     # Directories in /var/spool/dspam are made read-only as they contain private data
     DSPAM_HOME="/var/spool/dspam"
     for dir in $DSPAM_HOME $DSPAM_HOME/data $DSPAM_HOME/opt-in $DSPAM_HOME/opt-out ; do
-        if ! dpkg-statoverride --list dir >/dev/null
+        if ! dpkg-statoverride --list $dir >/dev/null
         then
-            dpkg-statoverride --update --add dspam dspam 0770 dir
+            dpkg-statoverride --update --add dspam dspam 0770 $dir
         fi
     done
 

-- 
Debian packages for the DSPAM anti-spam filter



More information about the Pkg-dspam-commits mailing list