27 lines
642 B
Diff
27 lines
642 B
Diff
|
--- a/data/lxdm.in 2015-10-18 19:22:46.386331477 -0200
|
||
|
+++ b/data/lxdm.in 2015-10-18 19:28:46.354787701 -0200
|
||
|
@@ -1,21 +1,13 @@
|
||
|
#!/bin/sh
|
||
|
|
||
|
-[ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n
|
||
|
-
|
||
|
-if [ -z "$LANG" -a -e /etc/sysconfig/language ]; then
|
||
|
- . /etc/sysconfig/language
|
||
|
- if [ -n "$RC_LANG"]; then
|
||
|
- LANG=$RC_LANG
|
||
|
- fi
|
||
|
+if [ -r /etc/profile.d/locale.sh ]; then
|
||
|
+ . /etc/profile.d/locale.sh
|
||
|
fi
|
||
|
|
||
|
if [ -n "$LANG" ]; then
|
||
|
export LANG
|
||
|
fi
|
||
|
|
||
|
-[ -f /etc/sysconfig/desktop ] && . /etc/sysconfig/desktop
|
||
|
-[ -f /etc/sysconfig/windowmanager ] && . /etc/sysconfig/windowmanager
|
||
|
-
|
||
|
if [ -n "$DEFAULT_WM" ]; then
|
||
|
PREFERRED=$DEFAULT_WM
|
||
|
fi
|