tweaked wording

This commit is contained in:
inxi-svn 2011-06-09 20:12:59 +00:00
parent a514f71e56
commit a28e1a1c17

4
inxi
View file

@ -1234,7 +1234,7 @@ script_self_updater()
local wget_error=0 file_contents=''
print_screen_output "Starting $SCRIPT_NAME self updater."
print_screen_output "Currently running $SCRIPT_NAME version number: $SCRIPT_VERSION_NUMBER"
print_screen_output "Patch version number: $SCRIPT_PATCH_NUMBER"
print_screen_output "Version patch number: $SCRIPT_PATCH_NUMBER"
print_screen_output "Updating $SCRIPT_NAME in $SCRIPT_PATH using $2 as download source..."
file_contents="$( wget -q -O - $1$SCRIPT_NAME )" || wget_error=$?
@ -1247,7 +1247,7 @@ script_self_updater()
SCRIPT_VERSION_NUMBER=$( grep -im 1 'version:' $SCRIPT_PATH/$SCRIPT_NAME | gawk '{print $3}' )
SCRIPT_PATCH_NUMBER=$( grep -im 1 'Patch Number:' $SCRIPT_PATH/$SCRIPT_NAME | gawk '{print $4}' )
print_screen_output "Successfully updated to $2 version: $SCRIPT_VERSION_NUMBER"
print_screen_output "Patch version number: $SCRIPT_PATCH_NUMBER"
print_screen_output "Version patch number: $SCRIPT_PATCH_NUMBER"
print_screen_output "To run the new version, just start $SCRIPT_NAME again."
exit 0
else