From 0b0e541591d87cd10674873deccf311bab52573d Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 6 Mar 2003 16:17:03 +0000 Subject: use -x, not -f (#85704) --- lang.csh | 2 +- lang.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lang.csh b/lang.csh index 1097168b..b119ca51 100755 --- a/lang.csh +++ b/lang.csh @@ -74,7 +74,7 @@ if ($sourced == 1) then if ( $?TERM ) then if ( "$TERM" == "linux" ) then if ( `/sbin/consoletype` == "vt" ) then - if ( -f /bin/unicode_start ) then + if ( -x /bin/unicode_start ) then if ( $?SYSFONTACM ) then unicode_start $SYSFONT $SYSFONTACM else diff --git a/lang.sh b/lang.sh index 8cbeb0fd..dd16e59d 100755 --- a/lang.sh +++ b/lang.sh @@ -70,7 +70,7 @@ if [ "$sourced" = 1 ]; then case $LANG in *.utf8*|*.UTF-8*) if [ "$TERM" = "linux" -a "`/sbin/consoletype`" = "vt" ]; then - [ -f /bin/unicode_start ] && unicode_start $SYSFONT $SYSFONTACM + [ -x /bin/unicode_start ] && unicode_start $SYSFONT $SYSFONTACM fi ;; esac -- cgit v1.2.1