[Webapps-common-discuss] [commit] r134 - webapps-common/trunk/debian

sgran at alioth.debian.org sgran at alioth.debian.org
Fri Sep 7 15:36:29 UTC 2007


Author: sgran
Date: 2007-09-07 15:36:29 +0000 (Fri, 07 Sep 2007)
New Revision: 134

Modified:
   webapps-common/trunk/debian/changelog
   webapps-common/trunk/debian/webapps-common.postrm
Log:
ucf purge config files on purge

Modified: webapps-common/trunk/debian/changelog
===================================================================
--- webapps-common/trunk/debian/changelog	2007-09-06 18:19:35 UTC (rev 133)
+++ webapps-common/trunk/debian/changelog	2007-09-07 15:36:29 UTC (rev 134)
@@ -1,5 +1,6 @@
 webapps-common (0.8) UNRELEASED; urgency=low
 
+  [ sean finney ]
   [sean finney]
   * the "oh yeah, *that* project" release.
   * fix for some required directories not previously being created.
@@ -15,8 +16,11 @@
   * various documentation updates.
   * TODO look for the XXX's.  gotta catch em all!
 
- -- sean finney <seanius at debian.org>  Mon, 14 May 2007 01:21:56 +0200
+  [ Stephen Gran ]
+  * ucf purge config files on purge
 
+ -- Stephen Gran <sgran at debian.org>  Fri,  7 Sep 2007 11:35:44 -0400
+
 webapps-common (0.7) UNRELEASED; urgency=low
 
   [sean finney]

Modified: webapps-common/trunk/debian/webapps-common.postrm
===================================================================
--- webapps-common/trunk/debian/webapps-common.postrm	2007-09-06 18:19:35 UTC (rev 133)
+++ webapps-common/trunk/debian/webapps-common.postrm	2007-09-07 15:36:29 UTC (rev 134)
@@ -3,8 +3,13 @@
 if [ "$1" = "purge" ]; then
 	rm -f /etc/webapps-common/virtualhosts.conf
 	ucf --purge /etc/webapps-common/virtualhosts.conf
-	rm -f /etc/apache2/conf.d/webapps-common.conf
-	ucf --purge /etc/apache2/conf.d/webapps-common.conf
+        for httpd in apache apache2 apache-ssl apache-perl; do
+	        rm -f /etc/$httpd/conf.d/webapps-common.conf
+                ucf --purge /etc/$httpd/conf.d/webapps-common.conf
+	        rm -f /etc/webapps-common/custom-templates/$httpd/virtualhost.conf
+                ucf --purge /etc/webapps-common/custom-templates/$httpd/virtualhost.conf
+        done
+
 fi
 
 #DEBHELPER#




More information about the Webapps-common-discuss mailing list