5 if [ "x$1" = xconfigure ]; then
7 # If mod_perl and mod_apreq are installed, ensure our configuration
8 # fragment is installed and make Apache (re)load the configuration
10 if [ -e /etc/apache2/mods-enabled/perl.load -a \
11 -e /etc/apache2/mods-enabled/apreq.load ]; then
12 if [ \! -e /etc/apache2/conf.d/memories ]; then
13 ln -s ../../memories/apache.conf /etc/apache2/conf.d/memories
15 invoke-rc.d apache2 force-reload
18 # Disable integration with now-unsupported Apache 1.x.
19 for server in apache apache-perl apache-ssl; do
20 if [ -L /etc/$server/conf.d/memories ]; then
21 rm /etc/$server/conf.d/memories
22 if [ -f /etc/init.d/$server ]; then
23 invoke-rc.d $server force-reload