| 12345678910111213141516171819202122232425262728 |
- #!/bin/bash
- # LGSM command_update.sh function
- # Author: Daniel Gibbs
- # Website: https://gameservermanagers.com
- # Description: Handles updating of servers.
- local commandname="UPDATE"
- local commandaction="Update"
- local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
- fn_print_dots ""
- sleep 0.5
- check.sh
- if [ "${gamename}" == "TeamSpeak 3" ]; then
- update_ts3.sh
- elif [ "${engine}" == "lwjgl2" ]; then
- update_minecraft.sh
- elif [ "${gamename}" == "Mumble" ]; then
- update_mumble.sh
- elif [ "${gamename}" == "Factorio" ]; then
- update_factorio.sh
- else
- update_steamcmd.sh
- fi
- core_exit.sh
|