Kaynağa Gözat

Add symlink based on $HOME to fix ark mod loading.

RussianRonin 8 yıl önce
ebeveyn
işleme
bafb8fb370
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  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