From bafb8fb37001d1a90c87925c57c40fb300e94ba9 Mon Sep 17 00:00:00 2001 From: RussianRonin <21460243+RussianRonin@users.noreply.github.com> Date: Fri, 15 Sep 2017 21:15:31 -0700 Subject: [PATCH] Add symlink based on $HOME to fix ark mod loading. --- lgsm/functions/fix_ark.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lgsm/functions/fix_ark.sh b/lgsm/functions/fix_ark.sh index 3ce2e0c19..94ea689f0 100644 --- a/lgsm/functions/fix_ark.sh +++ b/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. if [ ! -d "${serverfiles}/Engine/Binaries/ThirdParty/SteamCMD/Linux" ]; then 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 \ No newline at end of file