diff --git a/inxi b/inxi index a4ee0a5..7759c44 100755 --- a/inxi +++ b/inxi @@ -1,8 +1,8 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 1.8.14 -#### Date: July 30 2012 +#### version: 1.8.15 +#### Date: September 11 2012 #### Patch Number: 00 ######################################################################## #### SPECIAL THANKS @@ -416,8 +416,8 @@ ALTERNATE_FTP='' # for data uploads LOG_FILE="$SCRIPT_DATA_DIR/inxi.log" LOG_FILE_1="$SCRIPT_DATA_DIR/inxi.1.log" LOG_FILE_2="$SCRIPT_DATA_DIR/inxi.2.log" -MAN_FILE_DOWNLOAD='http://inxi.googlecode.com/svn/trunk/inxi.8.gz' -MAN_FILE_LOCATION='/usr/share/man/man8' +MAN_FILE_DOWNLOAD='http://inxi.googlecode.com/svn/trunk/inxi.1.gz' +MAN_FILE_LOCATION='/usr/share/man/man1' SCRIPT_NAME="inxi" SCRIPT_PATCH_NUMBER='' SCRIPT_PATH="" #filled-in in Main @@ -1285,6 +1285,10 @@ script_self_updater() else if [[ $B_ROOT == 'true' ]];then print_screen_output "Checking Man page download URL..." + 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 + fi wget -q --spider $MAN_FILE_DOWNLOAD || wget_man_error=$? if [[ $wget_man_error -eq 0 ]];then print_screen_output "Man file download URL verified: $MAN_FILE_DOWNLOAD"