X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=debian%2Fmemories.postinst;h=1d9ef95c2d1852065ace17d2eb2e45b7df8c52e8;hb=f5c1a6037dd91aeeb3d199181d1d99135d9c2f9e;hp=5393e1b56046c303276e435a2713bac315d1a245;hpb=9fe157c794d245177a9eafb18595a67311ff64b8;p=memories.git diff --git a/debian/memories.postinst b/debian/memories.postinst index 5393e1b..1d9ef95 100755 --- a/debian/memories.postinst +++ b/debian/memories.postinst @@ -1,5 +1,7 @@ #!/bin/sh +#DEBHELPER# + if [ "x$1" = xconfigure ]; then # Install our configuration fragment and make Apache load it @@ -13,10 +15,10 @@ if [ "x$1" = xconfigure ]; then invoke-rc.d $server force-reload fi done - # Module configuration is different in the apache2 package. - if [ -e /etc/apache2/mods-enabled/perl.load -a \ - \! -e /etc/apache2/conf.d/memories ]; then - ln -s ../../memories/apache.conf /etc/apache2/conf.d/memories + + # Disable currently broken integration with Apache 2 + if [ -L /etc/apache2/conf.d/memories ]; then + rm /etc/apache2/conf.d/memories invoke-rc.d apache2 force-reload fi