language change

This commit is contained in:
inxi-svn 2011-06-09 20:41:56 +00:00
parent 88b0b389b8
commit 2bd19db6ea

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 "Local version patch number: $SCRIPT_PATCH_NUMBER"
print_screen_output "Current 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 "Updated $2 version patch number: $SCRIPT_PATCH_NUMBER"
print_screen_output "New $2 version patch number: $SCRIPT_PATCH_NUMBER"
print_screen_output "To run the new version, just start $SCRIPT_NAME again."
exit 0
else