mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 08:57:57 +00:00
update text tweak
This commit is contained in:
parent
28fd5c648a
commit
b11b8228c5
5
inxi
5
inxi
|
@ -542,8 +542,9 @@ print_version_info()
|
|||
|
||||
script_self_updater()
|
||||
{
|
||||
print_screen_output "Updating $SCRIPT_NAME in $SCRIPT_PATH."
|
||||
print_screen_output "Currently running version number: $SCRIPT_VERSION_NUMBER"
|
||||
print_screen_output "Starting $SCRIPT_NAME self updater."
|
||||
print_screen_output "Currently running $SCRIPT_NAME version number: $SCRIPT_VERSION_NUMBER"
|
||||
print_screen_output "Updating $SCRIPT_NAME in $SCRIPT_PATH now..."
|
||||
wget -O $SCRIPT_PATH/$SCRIPT_NAME http://techpatterns.com/downloads/distro/$SCRIPT_NAME || error_handler 8 "$?"
|
||||
if [ "$?" -eq 0 ];then
|
||||
SCRIPT_VERSION_NUMBER=$( grep -im 1 'version:' $SCRIPT_PATH/$SCRIPT_NAME | awk '{print $3}' )
|
||||
|
|
Loading…
Reference in a new issue