aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@redhat.com>2002-09-04 14:12:12 +0000
committerNalin Dahyabhai <nalin@redhat.com>2002-09-04 14:12:12 +0000
commit270e303c90a411431c2d8a7ed7b904728f0ff653 (patch)
tree4953ddcff9bcbc700ed31bb54337b0ea84c038ce
parentb75317ad51f353b9789a834f4df32ff5d160d344 (diff)
downloadinitscripts-270e303c90a411431c2d8a7ed7b904728f0ff653.tar
initscripts-270e303c90a411431c2d8a7ed7b904728f0ff653.tar.gz
initscripts-270e303c90a411431c2d8a7ed7b904728f0ff653.tar.bz2
initscripts-270e303c90a411431c2d8a7ed7b904728f0ff653.tar.xz
initscripts-270e303c90a411431c2d8a7ed7b904728f0ff653.zip
- don't pass $SYSFONTACM to unicode_start if it has no value
-rwxr-xr-xlang.csh12
1 files changed, 8 insertions, 4 deletions
diff --git a/lang.csh b/lang.csh
index f2ced68b..277be79c 100755
--- a/lang.csh
+++ b/lang.csh
@@ -65,11 +65,15 @@ if ($sourced == 1) then
switch ($LANG)
case *.utf8*:
case *.UTF-8*:
- if ( $?TERM ) then
+ if ( $?TERM ) then
if ( "$TERM" == "linux" ) then
- if ( `/sbin/consoletype` == "vt" ) then
- unicode_start $SYSFONT $SYSFONTACM
- endif
+ if ( `/sbin/consoletype` == "vt" ) then
+ if ( $?SYSFONTACM ) then
+ unicode_start $SYSFONT $SYSFONTACM
+ else
+ unicode_start $SYSFONT
+ endif
+ endif
endif
endif
breaksw