mirror of
https://github.com/GameServerManagers/LinuxGSM
synced 2026-08-18 20:23:04 -04:00
* feat(bb): add BrainBread server update functionality * Implemented `update_bb.sh` to handle updates for BrainBread servers. * Integrated new update checks in `command_check_update.sh` and `command_update.sh`. * Updated `install_server_files.sh` to include BrainBread server installation logic. Co-authored-by: Copilot <copilot@github.com> * feat(bb): enhance BrainBread update process * Updated `fn_update_dl` to use `remotebuildhash` for file integrity. * Added handling for missing `remotebuildhash` to default to "nohash". * Included `update_steamcmd.sh` call to ensure both Steam app and GitHub package updates are performed. Co-authored-by: Copilot <copilot@github.com> * fix(steamcmd): ensure core HL1 files are present after appid 90 update * Added checks to verify the presence of core HL1 files after updating appid 90. * If files are missing, an update is forced and errors are logged. * Exits the script if files are still missing after the retry. * fix(steamcmd): update error messages for GoldSrc engine * Changed appid 90 references to GoldSrc for clarity. * Updated error messages to reflect the correct engine context. * Ensures users are informed about missing core HL1 files after GoldSrc updates. Co-authored-by: Copilot <copilot@github.com> * feat(serverlist): add Military Conflict: Vietnam server entry * Introduced new server entry for `Military Conflict: Vietnam` in `serverlist.csv`. * Enhances the variety of game servers available for users. --------- Co-authored-by: Copilot <copilot@github.com>
49 lines
1.2 KiB
Bash
Executable file
49 lines
1.2 KiB
Bash
Executable file
#!/bin/bash
|
|
# LinuxGSM command_update.sh module
|
|
# Author: Daniel Gibbs
|
|
# Contributors: https://linuxgsm.com/contrib
|
|
# Website: https://linuxgsm.com
|
|
# Description: Handles updating of servers.
|
|
|
|
commandname="UPDATE"
|
|
commandaction="Updating"
|
|
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
|
|
fn_firstcommand_set
|
|
|
|
fn_print_dots ""
|
|
check.sh
|
|
core_logs.sh
|
|
check_last_update.sh
|
|
|
|
if [ "${shortname}" == "ts3" ]; then
|
|
update_ts3.sh
|
|
elif [ "${shortname}" == "mc" ]; then
|
|
update_mc.sh
|
|
elif [ "${shortname}" == "mcb" ]; then
|
|
update_mcb.sh
|
|
elif [ "${shortname}" == "pmc" ] || [ "${shortname}" == "vpmc" ] || [ "${shortname}" == "wmc" ]; then
|
|
update_pmc.sh
|
|
elif [ "${shortname}" == "fctr" ]; then
|
|
update_fctr.sh
|
|
elif [ "${shortname}" == "mta" ]; then
|
|
update_mta.sh
|
|
elif [ "${shortname}" == "jk2" ]; then
|
|
update_jk2.sh
|
|
elif [ "${shortname}" == "vints" ]; then
|
|
update_vints.sh
|
|
elif [ "${shortname}" == "bb" ]; then
|
|
update_bb.sh
|
|
elif [ "${shortname}" == "ut99" ]; then
|
|
update_ut99.sh
|
|
elif [ "${shortname}" == "xnt" ]; then
|
|
update_xnt.sh
|
|
elif [ "${shortname}" == "etl" ]; then
|
|
update_etl.sh
|
|
else
|
|
update_steamcmd.sh
|
|
fi
|
|
|
|
# remove update lockfile.
|
|
rm -f "${lockdir:?}/update.lock"
|
|
|
|
core_exit.sh
|