Small tweak to update message, makes it more readable

This commit is contained in:
inxi-svn 2008-11-04 20:04:51 +00:00
parent 54a94c2821
commit c44c7d263c

3
inxi
View file

@ -542,7 +542,8 @@ print_version_info()
script_self_updater()
{
print_screen_output "Updating $SCRIPT_NAME in $SCRIPT_PATH. Current version number: $SCRIPT_VERSION_NUMBER"
print_screen_output "Updating $SCRIPT_NAME in $SCRIPT_PATH."
print_screen_output "Current version number: $SCRIPT_VERSION_NUMBER"
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}' )