[Python-apps-commits] r10888 - in packages/sabnzbdplus/trunk/debian (sabnzbdplus.init)

jcfp-guest at users.alioth.debian.org jcfp-guest at users.alioth.debian.org
Mon May 26 18:58:26 UTC 2014


    Date: Monday, May 26, 2014 @ 18:58:25
  Author: jcfp-guest
Revision: 10888

init: set system locale

Modified:
  packages/sabnzbdplus/trunk/debian/sabnzbdplus.init

Modified: packages/sabnzbdplus/trunk/debian/sabnzbdplus.init
===================================================================
--- packages/sabnzbdplus/trunk/debian/sabnzbdplus.init	2014-05-25 16:10:03 UTC (rev 10887)
+++ packages/sabnzbdplus/trunk/debian/sabnzbdplus.init	2014-05-26 18:58:25 UTC (rev 10888)
@@ -37,6 +37,11 @@
 # these are only accepted from the settings file
 unset USER CONFIG HOST PORT EXTRAOPTS
 
+[ -r /etc/default/locale ] && {
+	. /etc/default/locale;
+	[ -n "$LANG" ] && export LANG;
+}
+
 . /lib/lsb/init-functions
 
 check_retval() {




More information about the Python-apps-commits mailing list