Prilagodba za Debian lenny, paket verzije 2.5.11-1~cn1.
[libapache-mod-security.git] / debian / libapache-mod-security.prerm
diff --git a/debian/libapache-mod-security.prerm b/debian/libapache-mod-security.prerm
new file mode 100644 (file)
index 0000000..7375ce1
--- /dev/null
@@ -0,0 +1,14 @@
+#!/bin/sh -e
+# copied from libapache2-mod-php4
+
+if [ "$1" != "remove" -a "$1" != "purge" ]; then
+        exit 0
+fi
+
+if [ -e /etc/apache2/apache2.conf ]; then
+        a2dismod mod-security || true
+fi
+
+#DEBHELPER#
+
+exit 0