#!/bin/bash # LGSM command_update.sh function # Author: Daniel Gibbs # Website: https://gameservermanagers.com # Description: Handles updating of servers. local commandnane="UPDATE" local commandaction="Update" local selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" fn_print_dots "Checking for update" sleep 1 check.sh if [ "${gamename}" == "Teamspeak 3" ]; then update_ts3.sh elif [ "${engine}" == "goldsource" ]||[ "${forceupdate}" == "1" ]; then update_steamcmd.sh fi core_exit.sh