projects
/
grml-scripts-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Release version 1.3.2.
[grml-scripts-core.git]
/
usr_sbin
/
grml-setlang
diff --git
a/usr_sbin/grml-setlang
b/usr_sbin/grml-setlang
index
e4c8293
..
ae6a096
100755
(executable)
--- a/
usr_sbin/grml-setlang
+++ b/
usr_sbin/grml-setlang
@@
-170,19
+170,17
@@
fi
# locale isn't available on a remote system
if echo $LANGUAGE | grep -q -- '-iso' ; then
LC_CTYPE=C
# locale isn't available on a remote system
if echo $LANGUAGE | grep -q -- '-iso' ; then
LC_CTYPE=C
-else
- LC_CTYPE=en_US.UTF-8
fi
# read in the file where all the $LANGUAGE stuff is defined
fi
# read in the file where all the $LANGUAGE stuff is defined
-
source
$LANGFUNC
+
.
$LANGFUNC
# make sure the file exists
if ! [ -r $CONFFILE ] ; then
cat > $CONFFILE <<EOF
# File generated by $PN on $(date)
LANG=$LANG
# make sure the file exists
if ! [ -r $CONFFILE ] ; then
cat > $CONFFILE <<EOF
# File generated by $PN on $(date)
LANG=$LANG
-LC_CTYPE=$LC_CTYPE
+
#
LC_CTYPE=$LC_CTYPE
# LANGUAGE=$LANGUAGE
# TZ=$TZ
# other environment variables you might want to set:
# LANGUAGE=$LANGUAGE
# TZ=$TZ
# other environment variables you might want to set:
@@
-197,7
+195,6
@@
EOF
fi
setvalue 'LANG=' $LANG
fi
setvalue 'LANG=' $LANG
-setvalue 'LC_CTYPE=' $LC_CTYPE
retval=$?
case $retval in
retval=$?
case $retval in