summaryrefslogtreecommitdiffstats
path: root/debian/apache2-doc.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/apache2-doc.postinst')
-rw-r--r--debian/apache2-doc.postinst17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/apache2-doc.postinst b/debian/apache2-doc.postinst
new file mode 100644
index 0000000..e7e1e5a
--- /dev/null
+++ b/debian/apache2-doc.postinst
@@ -0,0 +1,17 @@
+#! /bin/sh
+
+set -e
+
+# conffiles must be moved before invoking rc.d
+#DEBHELPER#
+
+# This code should use dh_apache2 once it is available as build dependency
+
+if [ "$1" = "configure" ] ; then
+ if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
+ . /usr/share/apache2/apache2-maintscript-helper
+ apache2_invoke enconf apache2-doc || true
+ fi
+fi
+
+exit