lxdm.in.patch 642 B

123456789101112131415161718192021222324252627
  1. --- a/data/lxdm.in 2015-10-18 19:22:46.386331477 -0200
  2. +++ b/data/lxdm.in 2015-10-18 19:28:46.354787701 -0200
  3. @@ -1,21 +1,13 @@
  4. #!/bin/sh
  5. -[ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n
  6. -
  7. -if [ -z "$LANG" -a -e /etc/sysconfig/language ]; then
  8. - . /etc/sysconfig/language
  9. - if [ -n "$RC_LANG"]; then
  10. - LANG=$RC_LANG
  11. - fi
  12. +if [ -r /etc/profile.d/locale.sh ]; then
  13. + . /etc/profile.d/locale.sh
  14. fi
  15. if [ -n "$LANG" ]; then
  16. export LANG
  17. fi
  18. -[ -f /etc/sysconfig/desktop ] && . /etc/sysconfig/desktop
  19. -[ -f /etc/sysconfig/windowmanager ] && . /etc/sysconfig/windowmanager
  20. -
  21. if [ -n "$DEFAULT_WM" ]; then
  22. PREFERRED=$DEFAULT_WM
  23. fi