diff options
author | Bill Nottingham <notting@redhat.com> | 2002-07-24 21:27:14 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2002-07-24 21:27:14 +0000 |
commit | 028c97436177229002c0ad6e642b79346ccfbca6 (patch) | |
tree | 9b7d35eda08550c059a8e37ec2b9ff6b46a0840f | |
parent | ff90b1a98e3627d9528f9f9d45cb9aff00c95211 (diff) | |
download | initscripts-028c97436177229002c0ad6e642b79346ccfbca6.tar initscripts-028c97436177229002c0ad6e642b79346ccfbca6.tar.gz initscripts-028c97436177229002c0ad6e642b79346ccfbca6.tar.bz2 initscripts-028c97436177229002c0ad6e642b79346ccfbca6.tar.xz initscripts-028c97436177229002c0ad6e642b79346ccfbca6.zip |
oops, UTF-8 can have @euro
-rwxr-xr-x | lang.csh | 4 | ||||
-rwxr-xr-x | lang.sh | 2 | ||||
-rwxr-xr-x | rc.d/rc.sysinit | 2 |
3 files changed, 4 insertions, 4 deletions
@@ -61,8 +61,8 @@ if ($sourced == 1) then endif if ($?LANG) then switch ($LANG) - case *.utf8: - case *.UTF-8: + case *.utf8*: + case *.UTF-8*: if ( $?TERM ) then if ( "$TERM" == "linux" ) then if ( `/sbin/consoletype` == "vt" ) then @@ -64,7 +64,7 @@ if [ "$sourced" = 1 ]; then fi if [ -n "$LANG" ]; then case $LANG in - *.utf8|*.UTF-8) + *.utf8*|*.UTF-8*) if [ "$TERM" = "linux" -a "`/sbin/consoletype`" = "vt" ]; then unicode_start fi diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index baca24db..e96eb2a8 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -137,7 +137,7 @@ if [ "`/sbin/consoletype`" = "vt" -a -x /bin/loadkeys ]; then if [ -x /sbin/setsysfont ]; then [ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n case "$LANG" in - *.utf8|*.UTF-8) + *.utf8*|*.UTF-8*) action $"Setting default font ($SYSFONT): " /bin/unicode_start $SYSFONT ;; *) |