summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo.postinst
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo.postinst')
-rw-r--r--t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo.postinst11
1 files changed, 11 insertions, 0 deletions
diff --git a/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo.postinst b/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo.postinst
new file mode 100644
index 0000000..c4a1988
--- /dev/null
+++ b/t/recipes/checks/apache2/apache2-webapplications-general/build-spec/debian/phpmyfoo.postinst
@@ -0,0 +1,11 @@
+#! /bin/sh
+
+set -e
+
+if [ "$1" = 'configure' ] ; then
+ a2enconf -q phpmyfoo
+fi
+
+invoke-rc.d apache2 reload
+
+#DEBHELPER#