From c848609967fb90a7375f7ba7a8d75269743c1964 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Thu, 13 Nov 2008 02:12:08 +0000 Subject: [PATCH] (change version) Fine tuned the branch download option error messages to better reflect the actual error. --- inxi | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/inxi b/inxi index 6c23796..e927f71 100755 --- a/inxi +++ b/inxi @@ -1,7 +1,7 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 0.5.20 +#### version: 0.5.21 #### Date: November 11 2008 ######################################################################## #### inxi is a fork of infobash, the original bash sys info script by locsmif @@ -265,6 +265,9 @@ error_handler() 11) 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: $@" set -- 99 ;; @@ -721,7 +724,7 @@ script_self_updater() if [[ $2 == 'svn server' ]];then error_handler 8 "$?" else - error_handler 10 "$1" + error_handler 12 "$1" fi fi }