(change version)

Fine tuned the branch download option error messages to better reflect the actual error.
This commit is contained in:
inxi-svn 2008-11-13 02:12:08 +00:00
parent ccd62be018
commit c848609967

7
inxi
View file

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
######################################################################## ########################################################################
#### Script Name: inxi #### Script Name: inxi
#### version: 0.5.20 #### version: 0.5.21
#### Date: November 11 2008 #### Date: November 11 2008
######################################################################## ########################################################################
#### inxi is a fork of infobash, the original bash sys info script by locsmif #### inxi is a fork of infobash, the original bash sys info script by locsmif
@ -265,6 +265,9 @@ error_handler()
11) 11)
error_message="unsupported testing option argument: -! $2" error_message="unsupported testing option argument: -! $2"
;; ;;
12)
error_message="the svn branch download url: $2\nappears be empty currently. Make sure there is an actual svn branch version\nactive before you try this again. Check http://code.google.com/p/inxi\nto verify the branch status."
;;
*) error_message="error unknown: $@" *) error_message="error unknown: $@"
set -- 99 set -- 99
;; ;;
@ -721,7 +724,7 @@ script_self_updater()
if [[ $2 == 'svn server' ]];then if [[ $2 == 'svn server' ]];then
error_handler 8 "$?" error_handler 8 "$?"
else else
error_handler 10 "$1" error_handler 12 "$1"
fi fi
fi fi
} }