[pkg-java] r2829 - branches/tomcat5.5/feature/debian/debian

Marcus Better marcusb-guest at alioth.debian.org
Sun Dec 3 10:59:01 CET 2006


Author: marcusb-guest
Date: 2006-12-03 10:59:01 +0100 (Sun, 03 Dec 2006)
New Revision: 2829

Modified:
   branches/tomcat5.5/feature/debian/debian/tomcat5.5-webapps.postinst
Log:
Force creation of links to webapps context, needed if installing over previously removed (but not purged) package.


Modified: branches/tomcat5.5/feature/debian/debian/tomcat5.5-webapps.postinst
===================================================================
--- branches/tomcat5.5/feature/debian/debian/tomcat5.5-webapps.postinst	2006-12-01 12:11:02 UTC (rev 2828)
+++ branches/tomcat5.5/feature/debian/debian/tomcat5.5-webapps.postinst	2006-12-03 09:59:01 UTC (rev 2829)
@@ -8,7 +8,7 @@
 	    # New installation, not a package upgrade
 	    # create context links
 	    for context in /usr/share/tomcat5.5-webapps/*.xml; do
-	      ln -s $context /var/lib/tomcat5.5/conf/Catalina/localhost/
+	      ln -sf $context /var/lib/tomcat5.5/conf/Catalina/localhost/
 	    done
 
 	    if [ -x /etc/init.d/tomcat5.5 ]; then




More information about the pkg-java-commits mailing list