[Pkg-ocaml-maint-commits] [SCM] mldonkey packaging branch, master, updated. debian/2.9.5-2-88-g7274560
Mehdi Dogguy
dogguy at pps.jussieu.fr
Tue Mar 17 09:50:04 UTC 2009
The following commit has been merged in the master branch:
commit 727456024288aa32482842a455e037275229d562
Author: Mehdi Dogguy <dogguy at pps.jussieu.fr>
Date: Tue Mar 17 09:16:38 2009 +0100
Init script now exports default locale found in /etc/default/locale, when possible
diff --git a/debian/changelog b/debian/changelog
index 3abc605..69ee22e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+mldonkey (3.0.0-2) unstable; urgency=low
+
+ * Init script now exports default locale found in /etc/default/locale
+ (when the file exists), closes: #473133.
+
+ -- Mehdi Dogguy <dogguy at pps.jussieu.fr> Tue, 17 Mar 2009 09:16:06 +0100
+
mldonkey (3.0.0-1) unstable; urgency=low
[ Sylvain Le Gall ]
diff --git a/debian/mldonkey-server.init b/debian/mldonkey-server.init
index 43f8ac6..8e125c1 100644
--- a/debian/mldonkey-server.init
+++ b/debian/mldonkey-server.init
@@ -63,6 +63,12 @@ StartErrorCheck ()
. $CONFIG
+# Look for the default locale
+if [ -f "/etc/default/locale" ]; then
+ . /etc/default/locale
+ export $LANG
+fi
+
# /var/run might be on tempfs, see #354701.
if [ ! -d /var/run/mldonkey ]; then
mkdir -m 755 /var/run/mldonkey
--
mldonkey packaging
More information about the Pkg-ocaml-maint-commits
mailing list