mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
(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
This commit is contained in:
parent
cc5fb242c4
commit
6960738965
8
inxi
8
inxi
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
########################################################################
|
########################################################################
|
||||||
#### Script Name: inxi
|
#### Script Name: inxi
|
||||||
#### version: 0.5.18
|
#### version: 0.5.19
|
||||||
#### 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
|
||||||
|
@ -166,6 +166,8 @@ SCRIPT_NAME="inxi"
|
||||||
SCRIPT_PATH=$( dirname $0 )
|
SCRIPT_PATH=$( dirname $0 )
|
||||||
SCRIPT_VERSION_NUMBER=$( grep -im 1 'version:' $SCRIPT_PATH/$SCRIPT_NAME | gawk '{print $3}' )
|
SCRIPT_VERSION_NUMBER=$( grep -im 1 'version:' $SCRIPT_PATH/$SCRIPT_NAME | gawk '{print $3}' )
|
||||||
SCRIPT_DOWNLOAD='http://inxi.googlecode.com/svn/trunk/'
|
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/'
|
SCRIPT_DOWNLOAD_DEV='http://techpatterns.com/downloads/distro/'
|
||||||
KONVI_CFG="konversation/scripts/$SCRIPT_NAME.conf" # relative path to $(kde-config --path data)
|
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'
|
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*)
|
http*)
|
||||||
# first test provided url to avoid overwriting file with null
|
# first test provided url to avoid overwriting file with null
|
||||||
wget -q --spider "$OPTARG$SCRIPT_NAME"
|
wget -q --spider "$OPTARG$SCRIPT_NAME"
|
||||||
|
|
Loading…
Reference in a new issue