projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pazpar2-js no longer requires Apache2 PAZ-989
[pazpar2-moved-to-github.git]
/
debian
/
pazpar2-apache2.postinst
diff --git
a/debian/pazpar2-apache2.postinst
b/debian/pazpar2-apache2.postinst
index
6c4f18b
..
29a837a
100644
(file)
--- a/
debian/pazpar2-apache2.postinst
+++ b/
debian/pazpar2-apache2.postinst
@@
-15,6
+15,10
@@
reload_apache()
}
if [ -e /etc/apache2/apache2.conf ]; then
}
if [ -e /etc/apache2/apache2.conf ]; then
+ if [ -d /etc/apache2/conf.d ]; then
+ ln -sf /etc/pazpar2/ap2pazpar2-js.cfg /etc/apache2/conf.d/pazpar2-js
+ fi
+
if [ ! -f /etc/apache2/mods-enabled/proxy_http.load ]; then
a2enmod proxy_http || true
fi
if [ ! -f /etc/apache2/mods-enabled/proxy_http.load ]; then
a2enmod proxy_http || true
fi