Browse Source

header

pull/3198/head
Daniel Gibbs 5 years ago
parent
commit
ad8d548a31
  1. 2
      lgsm/functions/check_version.sh
  2. 1
      lgsm/functions/command_skeleton.sh
  3. 2
      lgsm/functions/fix_cmw.sh
  4. 1
      lgsm/functions/fix_sof2.sh
  5. 2
      lgsm/functions/fix_squad.sh
  6. 2
      lgsm/functions/install_modules.sh
  7. 2
      linuxgsm.sh

2
lgsm/functions/check_version.sh

@ -6,6 +6,8 @@
# Description: Will run update-lgsm if gameserver.sh and modules version does not match
# this will allow gameserver.sh to update - useful for multi instance servers.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
if [ -n "${modulesversion}" ]&&[ -n "${version}" ]&&[ "${version}" != "${modulesversion}" ]; then
exitbypass=1
echo -e ""

1
lgsm/functions/command_skeleton.sh

@ -5,6 +5,7 @@
# Website: https://linuxgsm.com
# Description: Creates an copy of a game servers directorys.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
fn_print_dots "Creating skeleton directory"
check.sh

2
lgsm/functions/fix_cmw.sh

@ -5,6 +5,8 @@
# Website: https://linuxgsm.com
# Description: Resolves the issue of the not starting server on linux
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
if [ ! -f "${executabledir}/steam_appid.txt" ]; then
fixname="steam_appid.txt"
fn_fix_msg_start

1
lgsm/functions/fix_sof2.sh

@ -6,5 +6,6 @@
# Description: Resolves various issues with Soldier of Fortune 2.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
# Fixes: error while loading shared libraries: libcxa.so.1
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${serverfiles}"

2
lgsm/functions/fix_squad.sh

@ -5,6 +5,8 @@
# Website: https://linuxgsm.com
# Description: Resolves various issues with Squad.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
# As the server base dir changed for the game, we need to migrate the default config from the old to the new location
oldservercfg="${serverfiles}/Squad/ServerConfig/${servercfg}"
if [ -f "${oldservercfg}" ]&&[ -f "${servercfgfullpath}" ]; then

2
lgsm/functions/install_modules.sh

@ -5,6 +5,8 @@
# Website: https://linuxgsm.com
# Description: Downloads all modules on install.
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
echo -e ""
echo -e "${lightyellow}Downloading LinuxGSM Modules${default}"
echo -e "================================="

2
linuxgsm.sh

@ -1,5 +1,5 @@
#!/bin/bash
# Project: Game Server Managers - LinuxGSM
# Project: Linux Game Server Managers - LinuxGSM
# Author: Daniel Gibbs
# License: MIT License, Copyright (c) 2020 Daniel Gibbs
# Purpose: Linux Game Server Management Script

Loading…
Cancel
Save