Author: mkoch Date: 2008-01-03 12:19:37 +0000 (Thu, 03 Jan 2008) New Revision: 5271
Modified: trunk/tomcat5.5/debian/changelog trunk/tomcat5.5/debian/tomcat5.5.init Log: * debian/tomcat5.5.init: source /etc/default/locale and export LANG so tomcat gets started with system locale. Originally reported to https://bugs.launchpad.net/ubuntu/+source/tomcat5.5/+bug/153672. Modified: trunk/tomcat5.5/debian/changelog =================================================================== --- trunk/tomcat5.5/debian/changelog 2008-01-03 08:17:44 UTC (rev 5270) +++ trunk/tomcat5.5/debian/changelog 2008-01-03 12:19:37 UTC (rev 5271) @@ -10,8 +10,11 @@ Closes: #457956. * Renamed /etc/cron.daily/tomcat5.5 to /etc/cron.daily/tomcat55. Closes: #454296. + * debian/tomcat5.5.init: source /etc/default/locale and export LANG so + tomcat gets started with system locale. Originally reported to + https://bugs.launchpad.net/ubuntu/+source/tomcat5.5/+bug/153672. - -- Michael Koch <[EMAIL PROTECTED]> Thu, 03 Jan 2008 09:23:52 +0100 + -- Michael Koch <[EMAIL PROTECTED]> Thu, 03 Jan 2008 13:23:44 +0100 tomcat5.5 (5.5.25-4) unstable; urgency=high Modified: trunk/tomcat5.5/debian/tomcat5.5.init =================================================================== --- trunk/tomcat5.5/debian/tomcat5.5.init 2008-01-03 08:17:44 UTC (rev 5270) +++ trunk/tomcat5.5/debian/tomcat5.5.init 2008-01-03 12:19:37 UTC (rev 5271) @@ -31,6 +31,12 @@ echo "You need root privileges to run this script" exit 1 fi + +# Make sure tomcat is started with system locale +if [ -r /etc/default/locale ]; then + . /etc/default/locale + export LANG +fi . /lib/lsb/init-functions . /etc/default/rcS _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-java-commits

