Explorar o código

Merge branch 'hotfix/170803.2'

Daniel Gibbs %!s(int64=8) %!d(string=hai) anos
pai
achega
2a68e9c504
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      lgsm/functions/fix_ark.sh

+ 4 - 0
lgsm/functions/fix_ark.sh

@@ -7,4 +7,8 @@
 # Symlinking the SteamCMD directory into the correct ARK directory so that the mods auto-management will work.
 # Symlinking the SteamCMD directory into the correct ARK directory so that the mods auto-management will work.
 if [ ! -d "${serverfiles}/Engine/Binaries/ThirdParty/SteamCMD/Linux" ]; then
 if [ ! -d "${serverfiles}/Engine/Binaries/ThirdParty/SteamCMD/Linux" ]; then
 	ln -s "${steamcmddir}" "${serverfiles}/Engine/Binaries/ThirdParty/SteamCMD/Linux"
 	ln -s "${steamcmddir}" "${serverfiles}/Engine/Binaries/ThirdParty/SteamCMD/Linux"
+fi
+
+if [ ! -d "${serverfiles}/Engine/Binaries/ThirdParty/SteamCMD/Linux/steamapps" ]; then
+	ln -s "$HOME/Steam/steamapps/" "${serverfiles}/Engine/Binaries/ThirdParty/SteamCMD/Linux/steamapps"
 fi
 fi