Only update manpages if dir exists
This commit is contained in:
parent
7a1853a524
commit
0787908d1b
1 changed files with 5 additions and 4 deletions
|
@ -45,7 +45,8 @@ then
|
|||
rm -f $PI
|
||||
fi
|
||||
|
||||
makewhatis /usr/man
|
||||
makewhatis /usr/local/man
|
||||
makewhatis /usr/gnu/man
|
||||
makewhatis /usr/X11R6/man
|
||||
for d in /usr/man /usr/local/man /usr/gnu/man /usr/X11R6/man
|
||||
do if [ -d "$d" ]
|
||||
then makewhatis $d
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue