Added Debian packages: pazpar2-apache2 and pazpar2-test1. The former
[pazpar2-moved-to-github.git] / debian / pazpar2-apache2.postinst
diff --git a/debian/pazpar2-apache2.postinst b/debian/pazpar2-apache2.postinst
new file mode 100644 (file)
index 0000000..1dd77a5
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+set -e
+if [ ! -f /etc/apache2/mods-enabled/proxy_http.load ]; then
+       a2enmod proxy_http
+fi
+
+exit 0