aboutsummaryrefslogtreecommitdiffstats
path: root/lang.csh
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2003-03-03 21:04:05 +0000
committerBill Nottingham <notting@redhat.com>2003-03-03 21:04:05 +0000
commitaac707b24ff964ab16c886a760adf63af3ff71b2 (patch)
tree01a3b0cc00af1e7cc3494933bc3a64bad153fb66 /lang.csh
parentf19fe45b3669acc1683d34334fa62a355212213e (diff)
downloadinitscripts-aac707b24ff964ab16c886a760adf63af3ff71b2.tar
initscripts-aac707b24ff964ab16c886a760adf63af3ff71b2.tar.gz
initscripts-aac707b24ff964ab16c886a760adf63af3ff71b2.tar.bz2
initscripts-aac707b24ff964ab16c886a760adf63af3ff71b2.tar.xz
initscripts-aac707b24ff964ab16c886a760adf63af3ff71b2.zip
check for unicode_start before invocation (#85413)
Diffstat (limited to 'lang.csh')
-rwxr-xr-xlang.csh6
1 files changed, 4 insertions, 2 deletions
diff --git a/lang.csh b/lang.csh
index dfc4bad5..1097168b 100755
--- a/lang.csh
+++ b/lang.csh
@@ -74,10 +74,12 @@ if ($sourced == 1) then
if ( $?TERM ) then
if ( "$TERM" == "linux" ) then
if ( `/sbin/consoletype` == "vt" ) then
- if ( $?SYSFONTACM ) then
+ if ( -f /bin/unicode_start ) then
+ if ( $?SYSFONTACM ) then
unicode_start $SYSFONT $SYSFONTACM
- else
+ else
unicode_start $SYSFONT
+ endif
endif
endif
endif