Browse Source

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

pull/1618/head
RussianRonin 8 years ago
parent
commit
bafb8fb370
  1. 4
      lgsm/functions/fix_ark.sh

4
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
Loading…
Cancel
Save