tags 689541 + patch
thanks

Hi Christoph

It only needs to remove /etc/apache2/mods-available/auth_dacs.load on
purge of the package. I attach a possible patch to solve this, simply
removing the postrm maintainer script.

I have only done some basic testing with the builded package.

Hope this information could help,

Regards,
Salvatore
diff -Nru dacs-1.4.27b/debian/changelog dacs-1.4.27b/debian/changelog
--- dacs-1.4.27b/debian/changelog	2012-03-23 12:25:51.000000000 +0100
+++ dacs-1.4.27b/debian/changelog	2012-10-18 16:48:04.000000000 +0200
@@ -1,3 +1,10 @@
+dacs (1.4.27b-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Remove auth_dacs.load only on purge (Closes: #689541)
+
+ -- Salvatore Bonaccorso <car...@debian.org>  Thu, 18 Oct 2012 16:31:30 +0200
+
 dacs (1.4.27b-1) unstable; urgency=low
 
   * New upstream version.
diff -Nru dacs-1.4.27b/debian/libapache2-mod-dacs.postrm dacs-1.4.27b/debian/libapache2-mod-dacs.postrm
--- dacs-1.4.27b/debian/libapache2-mod-dacs.postrm	2012-01-19 16:57:36.000000000 +0100
+++ dacs-1.4.27b/debian/libapache2-mod-dacs.postrm	1970-01-01 01:00:00.000000000 +0100
@@ -1,15 +0,0 @@
-#! /bin/sh
-
-set -e
-
-if [ "$1" = "purge" -o "$1" = "remove" ]; then
-    # remove pseudo conffile
-    if test -e /etc/apache2/mods-available/auth_dacs.load; then
-        rm -f /etc/apache2/mods-available/auth_dacs.load
-    fi
-fi
-
-#DEBHELPER#
-
-exit 0
-

Attachment: signature.asc
Description: Digital signature

Reply via email to