mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-14 03:38:27 +00:00
moved message to function
This commit is contained in:
parent
2d8fde09f4
commit
e288448de7
@ -46,6 +46,9 @@ arkserverLog="arkserver.log" # here is logged the output of ShooterGameServer
|
||||
# Check if a new version is available but not apply it
|
||||
#
|
||||
function checkForUpdate(){
|
||||
tput sc
|
||||
echo "Querying Steam database for latest version..."
|
||||
|
||||
if isUpdateNeeded; then
|
||||
tput rc; tput ed;
|
||||
echo -e "Current version:" "$RED" $instver "$NORMAL"
|
||||
@ -313,8 +316,6 @@ case "$1" in
|
||||
forceUpdate
|
||||
;;
|
||||
checkupdate)
|
||||
tput sc
|
||||
echo "Querying Steam database for latest version..."
|
||||
checkForUpdate
|
||||
;;
|
||||
broadcast)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user