From 6960738965ad9b310df66b3778e2556ef0c762db Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Thu, 13 Nov 2008 01:57:45 +0000 Subject: [PATCH] (change version) Added two new testing options, svn branch one and branch two download run from urls. Both are triggered by -!, -! 3 for testing branch/one and -! 4 for testing branch/two --- inxi | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/inxi b/inxi index 40d2047..7d0d868 100755 --- a/inxi +++ b/inxi @@ -1,7 +1,7 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 0.5.18 +#### version: 0.5.19 #### Date: November 11 2008 ######################################################################## #### inxi is a fork of infobash, the original bash sys info script by locsmif @@ -166,6 +166,8 @@ SCRIPT_NAME="inxi" SCRIPT_PATH=$( dirname $0 ) SCRIPT_VERSION_NUMBER=$( grep -im 1 'version:' $SCRIPT_PATH/$SCRIPT_NAME | gawk '{print $3}' ) SCRIPT_DOWNLOAD='http://inxi.googlecode.com/svn/trunk/' +SCRIPT_DOWNLOAD_BRANCH_1='http://inxi.googlecode.com/svn/branches/one/' +SCRIPT_DOWNLOAD_BRANCH_2='http://inxi.googlecode.com/svn/branches/two/' SCRIPT_DOWNLOAD_DEV='http://techpatterns.com/downloads/distro/' KONVI_CFG="konversation/scripts/$SCRIPT_NAME.conf" # relative path to $(kde-config --path data) @@ -590,6 +592,10 @@ get_parameters() ;; 2) script_self_updater "$SCRIPT_DOWNLOAD_DEV" 'dev server' ;; + 3) script_self_updater "$SCRIPT_DOWNLOAD_BRANCH_1" 'svn: branch one server' + ;; + 4) script_self_updater "$SCRIPT_DOWNLOAD_BRANCH_2" 'svn: branch two server' + ;; http*) # first test provided url to avoid overwriting file with null wget -q --spider "$OPTARG$SCRIPT_NAME"