#!/bin/sh #DEBHELPER# if [ "x$1" = xconfigure ]; then # If mod_perl and mod_apreq are installed, ensure our configuration # fragment is installed and make Apache (re)load the configuration # and application. if [ -e /etc/apache2/mods-enabled/perl.load -a \ -e /etc/apache2/mods-enabled/apreq.load -a \ -f /usr/share/perl5/Apache2/Upload.pm ]; then if [ \! -e /etc/apache2/conf.d/memories ]; then ln -s ../../memories/apache.conf /etc/apache2/conf.d/memories fi invoke-rc.d apache2 force-reload fi # Disable integration with now-unsupported Apache 1.x. for server in apache apache-perl apache-ssl; do if [ -L /etc/$server/conf.d/memories ]; then rm /etc/$server/conf.d/memories if [ -f /etc/init.d/$server ]; then invoke-rc.d $server force-reload fi fi done fi