forgot to update mandb on mv

This commit is contained in:
inxi-svn 2012-09-11 17:59:32 +00:00
parent 1676f029f1
commit 6d1c39fd17

3
inxi
View file

@ -1288,6 +1288,9 @@ script_self_updater()
if [[ -f /usr/share/man/man8/inxi.8.gz ]];then
print_screen_output "Updating man page location to man1."
mv -f /usr/share/man/man8/inxi.8.gz /usr/share/man/man1/inxi.1.gz
if [[ -n $( type -p mandb ) ]];then
exec $( type -p mandb ) -q
fi
fi
wget -q --spider $MAN_FILE_DOWNLOAD || wget_man_error=$?
if [[ $wget_man_error -eq 0 ]];then