[Pkg-citadel-commit] r160 - webcit/trunk/debian

dothebart-guest at alioth.debian.org dothebart-guest at alioth.debian.org
Thu Sep 11 09:24:11 UTC 2008


Author: dothebart-guest
Date: 2008-09-11 09:24:10 +0000 (Thu, 11 Sep 2008)
New Revision: 160

Modified:
   webcit/trunk/debian/changelog
   webcit/trunk/debian/citadel-webcit.postrm
Log:
* fix bug #498556; remove symbolic links on exit.


Modified: webcit/trunk/debian/changelog
===================================================================
--- webcit/trunk/debian/changelog	2008-09-10 10:27:14 UTC (rev 159)
+++ webcit/trunk/debian/changelog	2008-09-11 09:24:10 UTC (rev 160)
@@ -1,3 +1,10 @@
+webcit (7.37-dfsg-5) unstable; urgency=low
+	
+  [Wilfried Goesgens]
+  * Cleanup apache config hooks on purge; closes: #498556 
+
+ -- Michael Meskes <meskes at debian.org>  Thu, 11 Sep 2008 11:27:39 +0200
+
 webcit (7.37-dfsg-4) unstable; urgency=low
 
   * Added manpage for webcit.

Modified: webcit/trunk/debian/citadel-webcit.postrm
===================================================================
--- webcit/trunk/debian/citadel-webcit.postrm	2008-09-10 10:27:14 UTC (rev 159)
+++ webcit/trunk/debian/citadel-webcit.postrm	2008-09-11 09:24:10 UTC (rev 160)
@@ -8,6 +8,13 @@
 case "$1" in
   purge)
 	echo "/etc/citadel/www/keys not removed. "
+	for server in apache apache-ssl apache2; do
+	    if [ -h "/etc/${server}/conf.d/webcit.conf" ]; then
+		rm -f "/etc/${server}/conf.d/webcit.conf"
+                invoke-rc.d $server reload || true
+	    fi
+	done
+	
 	rm -f /etc/default/webcit
 	db_purge 'citadel/WebcitHttpsPort' || true
 	db_purge 'citadel/WebcitHttpPort' || true




More information about the Pkg-citadel-commit mailing list