summarylogtreecommitdiffstats
path: root/golded
diff options
context:
space:
mode:
Diffstat (limited to 'golded')
-rw-r--r--golded14
1 files changed, 7 insertions, 7 deletions
diff --git a/golded b/golded
index d24cf06fa3ee..76f804afb77d 100644
--- a/golded
+++ b/golded
@@ -12,15 +12,15 @@ fi
_has_locale=$(locale -a | grep ${_locale_check})
if [ -z ${_has_locale} ]; then
- echo -n "Checking system locale presence ${_locale_check}: "
- echo "Not avaiable!"
- echo "Add ${_locale_message} to /etc/locale.gen and run"
- echo "sudo locale-gen"
- exit 1
+ echo -n "Checking system locale presence ${_locale_check}: "
+ echo "Not avaiable!"
+ echo "Add ${_locale_message} to /etc/locale.gen and run"
+ echo "sudo locale-gen"
+ exit 1
fi
-if [ "$TERM" = "rxvt-unicode-256color" ]; then
- TERM=xterm-256color LANG=${_golded_lang} exec luit -encoding ${_luit_encoding} -x -- "${_gedlnx}" "$@"
+if [ "$LANG" = "${_golded_lang}" ]; then
+ exec "${_gedlnx}" "$@"
else
LANG=${_golded_lang} exec luit -encoding ${_luit_encoding} -x -- "${_gedlnx}" "$@"
fi