#!/bin/sh
set -e
-case "$1" in
-configure|reconfigure)
- ;;
-*)
+#DEBHELPER#
+
+if [ "$1" != "configure" -a "$1" != "reconfigure" ]; then
exit 0
- ;;
-esac
+fi
conf="/etc/apache2/sites-available/occi-ssl"
econf="/etc/apache2/sites-enabled/occi-ssl"
echo "Hostname could not be determined! Please update 'ServerName' and 'ROCCI_SERVER_HOSTNAME' in $conf."
fi
-# apache reload
if [ -n "$2" ]; then
# we're upgrading. test if we're enabled, and if so, restart to reload the module.
if [ -e "$econf" ]; then
reload_apache
fi
-#DEBHELPER#
+exit 0