mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 17:07:49 +00:00
forgot to update mandb on mv
This commit is contained in:
parent
1676f029f1
commit
6d1c39fd17
3
inxi
3
inxi
|
@ -1288,6 +1288,9 @@ script_self_updater()
|
||||||
if [[ -f /usr/share/man/man8/inxi.8.gz ]];then
|
if [[ -f /usr/share/man/man8/inxi.8.gz ]];then
|
||||||
print_screen_output "Updating man page location to man1."
|
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
|
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
|
fi
|
||||||
wget -q --spider $MAN_FILE_DOWNLOAD || wget_man_error=$?
|
wget -q --spider $MAN_FILE_DOWNLOAD || wget_man_error=$?
|
||||||
if [[ $wget_man_error -eq 0 ]];then
|
if [[ $wget_man_error -eq 0 ]];then
|
||||||
|
|
Loading…
Reference in a new issue