Package: pazpar2-js
Architecture: all
-Depends: apache2.2-common
Description: Java Script utilities
Pazpar2 is a high-performance, user interface-independent, data
model-independent metasearching middleware featuring merging, relevance
Package: pazpar2-apache2
Architecture: all
-Depends: pazpar2, apache2
+Depends: pazpar2, apache2, pazpar2-js
Description: Apache2 configuration for Pazpar2
Pazpar2 is a high-performance, user interface-independent, data
model-independent metasearching middleware featuring merging, relevance
Package: pazpar2-test1
Architecture: all
-Depends: pazpar2-apache2, pazpar2-js
+Depends: pazpar2-apache2
Description: Pazpar2 portal test1
Pazpar2 is a high-performance, user interface-independent, data
model-independent metasearching middleware featuring merging, relevance
Package: pazpar2-jsdemo
Architecture: all
-Depends: pazpar2-apache2, pazpar2-js
+Depends: pazpar2-apache2
Description: Pazpar2 demo using the pz2.js library
Pazpar2 is a high-performance, user interface-independent, data
model-independent metasearching middleware featuring merging, relevance
}
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
+++ /dev/null
-#!/bin/sh
-set -e
-
-if [ "$1" != "configure" ]; then
- exit 0
-fi
-
-reload_apache()
-{
- if apache2ctl configtest 2>/dev/null; then
- invoke-rc.d apache2 force-reload || true
- else
- echo "Your apache2 configuration is broken, so we're not restarting it for you."
- fi
-}
-
-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
-
- reload_apache
-fi
-exit 0
+++ /dev/null
-#!/bin/sh -e
-
-case "$1" in
- purge|remove)
- WEBSERVERS="apache2"
- for apache in $WEBSERVERS; do
- if [ -f "/etc/$apache/conf.d/pazpar2-js" ]; then
- echo "Removing pazpar2-js configuration file for $apache.."
- rm -f /etc/$apache/conf.d/pazpar2-js
- if [ -f "/var/run/$apache.pid" ]; then
- invoke-rc.d $apache reload
- fi
- fi
- done
- ;;
- upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
- ;;
-
- *)
- echo "postrm called with unknown argument \`$1'" >&2
- exit 1
-esac
-
-
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-