[pkg-java] r5271 - trunk/tomcat5.5/debian

mkoch at alioth.debian.org mkoch at alioth.debian.org
Thu Jan 3 12:19:38 UTC 2008


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 <konqueror at gmx.de>  Thu, 03 Jan 2008 09:23:52 +0100
+ -- Michael Koch <konqueror at gmx.de>  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




More information about the pkg-java-commits mailing list