]> git.decadent.org.uk Git - memories.git/blobdiff - debian/memories.postinst
Disabled integration with Apache 2 since Memories does not yet work correctly with it.
[memories.git] / debian / memories.postinst
index c64a337a0f911c01344a4460e5afadd2ce0529ab..1d9ef95c2d1852065ace17d2eb2e45b7df8c52e8 100755 (executable)
@@ -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