mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 08:11:39 +00:00
Added temporary -U update option for dev and debugging purposes
This commit is contained in:
parent
f8aac2d152
commit
28be7483ec
8
inxi
8
inxi
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
########################################################################
|
||||
#### Script Name: inxi
|
||||
#### version: 0.1.1
|
||||
#### version: 0.1.2
|
||||
#### Date: October 27 2008
|
||||
########################################################################
|
||||
#### inxi is a fork of infobash, the original bash sys info script by locsmif
|
||||
|
@ -436,6 +436,12 @@ getparams()
|
|||
fi
|
||||
echo "$VBL" | grep -q '^[1-3]$' || error 4 "$VBL"
|
||||
;;
|
||||
-U)
|
||||
say "Updating $SCRIPT_NAME now..."
|
||||
wget -O $SCRIPT_PATH/$SCRIPT_NAME http://techpatterns.com/downloads/distro/$SCRIPT_NAME
|
||||
say "To run the new version, just start $SCRIPT_NAME again."
|
||||
exit 0
|
||||
;;
|
||||
--version)
|
||||
say "InfoBash, the universal, portable, system info script for irc."
|
||||
say "Tested with Irssi, Xchat, Konversation, BitchX, KSirc, ircII,"
|
||||
|
|
Loading…
Reference in a new issue