diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1999-11-23 03:11:54 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1999-11-23 03:11:54 +0000 |
| commit | 597ccab43ed0c14ded2b0bab03e954a03908c78b (patch) | |
| tree | 88d8f56829b420feaacf0379cf0cd5c1d9c4a49d /gnu | |
| parent | f052fd356389730ee8cfff4a830f4045d505c6d7 (diff) | |
Notes
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/usr.bin/man/apropos/apropos.sh | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/gnu/usr.bin/man/apropos/apropos.sh b/gnu/usr.bin/man/apropos/apropos.sh index c6e8e62c5d8d..f316bfff8e66 100644 --- a/gnu/usr.bin/man/apropos/apropos.sh +++ b/gnu/usr.bin/man/apropos/apropos.sh @@ -53,13 +53,7 @@ case X"$PAGER" in X) ;; esac -# If possible check global system configuration file for additional -# man locales installed -if [ -r /etc/defaults/rc.conf ] ; then - . /etc/defaults/rc.conf -elif [ -r /etc/rc.conf ] ; then - . /etc/rc.conf -fi +man_locales=`%bindir%/manpath -qL` # search for existing */whatis databases mandir='' @@ -71,7 +65,7 @@ do fi # Check for locailzed manpage subdirectories - if [ "$man_locales" != "NO" ]; then + if [ X"$man_locales" != X ]; then for l in $man_locales do if [ -f "$d/$l/$db" -a -r "$d/$l/$db" ]; |
