summaryrefslogtreecommitdiffstats
path: root/extra/lxdm/lxdm.patch
blob: a703a386d972305524e897061878eef3eaa8864e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- data/lxdm.orig	2010-01-24 16:58:42.262866825 -0200
+++ data/lxdm	2010-01-19 11:56:34.308668692 -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