Author: mkoch
Date: 2008-01-02 08:04:46 +0000 (Wed, 02 Jan 2008)
New Revision: 5263
Added:
trunk/tomcat5.5/debian/tomcat5.5-webapps.postrm
Modified:
trunk/tomcat5.5/debian/changelog
Log:
* debian/tomcat5.5-webapps.postrm: Purge links created in postinst script.
Closes: #453879.
Modified: trunk/tomcat5.5/debian/changelog
===================================================================
--- trunk/tomcat5.5/debian/changelog 2008-01-01 23:45:58 UTC (rev 5262)
+++ trunk/tomcat5.5/debian/changelog 2008-01-02 08:04:46 UTC (rev 5263)
@@ -2,8 +2,10 @@
* debian/tomcat5.5.init: Check if tomcat-users.xml exists. Closes: #445857.
Thanks to Javier Serrano Polo for the patch.
+ * debian/tomcat5.5-webapps.postrm: Purge links created in postinst script.
+ Closes: #453879.
- -- Michael Koch <[EMAIL PROTECTED]> Tue, 01 Jan 2008 13:52:20 +0100
+ -- Michael Koch <[EMAIL PROTECTED]> Wed, 02 Jan 2008 09:00:43 +0100
tomcat5.5 (5.5.25-4) unstable; urgency=high
Added: trunk/tomcat5.5/debian/tomcat5.5-webapps.postrm
===================================================================
--- trunk/tomcat5.5/debian/tomcat5.5-webapps.postrm
(rev 0)
+++ trunk/tomcat5.5/debian/tomcat5.5-webapps.postrm 2008-01-02 08:04:46 UTC
(rev 5263)
@@ -0,0 +1,16 @@
+#!/bin/sh -e
+
+#DEBHELPER#
+
+case "$1" in
+ purge)
+ if [ -d /etc/tomcat5.5/Catalina/localhost ]; then
+ # Purge links created in postinst script..Closes: #453879.
+ for context in /etc/tomcat5.5/Catalina/localhost/*.xml; do
+ if [ -L "$context" ]; then
+ rm -f $context
+ fi
+ done
+ fi
+ ;;
+esac
_______________________________________________
pkg-java-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-commits