From 6d1c39fd17e252a0e2d2ce5a154c64481c042d37 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Tue, 11 Sep 2012 17:59:32 +0000 Subject: [PATCH] forgot to update mandb on mv --- inxi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/inxi b/inxi index 7759c44..77aa2c2 100755 --- a/inxi +++ b/inxi @@ -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