X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=debian%2Fmemories.postinst;h=1d9ef95c2d1852065ace17d2eb2e45b7df8c52e8;hb=f5c1a6037dd91aeeb3d199181d1d99135d9c2f9e;hp=c64a337a0f911c01344a4460e5afadd2ce0529ab;hpb=98c885f77094b64006ddc020529f3ce0125c8a1a;p=memories.git diff --git a/debian/memories.postinst b/debian/memories.postinst index c64a337..1d9ef95 100755 --- a/debian/memories.postinst +++ b/debian/memories.postinst @@ -15,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