mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-11 18:48:26 +00:00
moved message to function
This commit is contained in:
parent
2e65a98204
commit
2e8e7d99c7
@ -47,6 +47,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"
|
||||
@ -332,8 +335,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