#!/bin/sh set -e # Adjust to the new config location, in /etc/apache2/conf.d/sitesummary if [ -f /etc/apache2/sites-available/sitesummary ] ; then if [ -f /etc/apache2/sites-enabled//sitesummary ] && [ -x /usr/sbin/a2dissite ] ; then a2dissite sitesummary fi rm /etc/apache2/sites-available/sitesummary fi # Make sure the cgi script can write to the storage area chown www-data /var/lib/sitesummary/tmpstorage /var/lib/sitesummary/entries #DEBHELPER#