mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
inode should be different to actually mean mandocdb is in used
Sponsored by: gandi.net
This commit is contained in:
parent
772246ef18
commit
24ef74209a
1 changed files with 2 additions and 2 deletions
|
|
@ -925,7 +925,7 @@ whatis_usage() {
|
|||
|
||||
# Supported commands
|
||||
do_apropos() {
|
||||
[ $(stat -f %i /usr/bin/man) -eq $(stat -f %i /usr/bin/apropos) ] && \
|
||||
[ $(stat -f %i /usr/bin/man) -ne $(stat -f %i /usr/bin/apropos) ] && \
|
||||
exec apropos "$@"
|
||||
search_whatis apropos "$@"
|
||||
}
|
||||
|
|
@ -962,7 +962,7 @@ do_manpath() {
|
|||
}
|
||||
|
||||
do_whatis() {
|
||||
[ $(stat -f %i /usr/bin/man) -eq $(stat -f %i /usr/bin/whatis) ] && \
|
||||
[ $(stat -f %i /usr/bin/man) -ne $(stat -f %i /usr/bin/whatis) ] && \
|
||||
exec whatis "$@"
|
||||
search_whatis whatis "$@"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue