New version, new tarball. Disabled -U in irc clients, with an exit error message.

This commit is contained in:
inxi-svn 2013-01-23 22:46:54 +00:00
parent 0b43930283
commit fd8087040b
2 changed files with 18 additions and 1 deletions

7
inxi
View file

@ -1,7 +1,7 @@
#!/bin/bash
########################################################################
#### Script Name: inxi
#### version: 1.8.31
#### version: 1.8.32
#### Date: January 23 2013
#### Patch Number: 00
########################################################################
@ -1266,6 +1266,11 @@ script_self_updater()
eval $LOGFS
local wget_error=0 file_contents='' wget_man_error=0
local man_file_path="$MAN_FILE_LOCATION/inxi.1.gz"
if [[ $B_RUNNING_IN_SHELL != 'true' ]];then
print_screen_output "Sorry, you can't run the $SCRIPT_NAME self updater option (-U) in an IRC client."
exit 1
fi
print_screen_output "Starting $SCRIPT_NAME self updater."
print_screen_output "Currently running $SCRIPT_NAME version number: $SCRIPT_VERSION_NUMBER"

View file

@ -78,3 +78,15 @@ copyright contained in the top comment header.
-----------------------------------
-- Harald Hope - Wed, 23 Jan 2013 13:55:35 -0800
=====================================================================================
Version: 1.8.32
Patch Version: 00
Script Date: January 23 2013
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Disabled -U in irc clients, with an exit error message.
-----------------------------------
-- Harald Hope - Wed, 23 Jan 2013 14:45:38 -0800