From c45f21e5669891e131957f6336e2e80de460b5a8 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sat, 19 Aug 2017 22:09:53 +0100 Subject: [PATCH] Added fix for ark Symlinking the SteamCMD directory into the correct ARK directory so that the mods auto-management will work fine. --- lgsm/functions/fix.sh | 2 ++ lgsm/functions/fix_ark.sh | 10 ++++++++++ 2 files changed, 12 insertions(+) create mode 100644 lgsm/functions/fix_ark.sh diff --git a/lgsm/functions/fix.sh b/lgsm/functions/fix.sh index 3f18a685b..04c3a6748 100644 --- a/lgsm/functions/fix.sh +++ b/lgsm/functions/fix.sh @@ -44,6 +44,8 @@ if [ "${function_selfname}" != "command_install.sh" ]; then if [ "${gamename}" == "ARMA 3" ]; then fix_arma3.sh + elif [ "${shortname}" == "ark" ]; then + fix_ark.sh elif [ "${gamename}" == "Counter-Strike: Global Offensive" ]; then fix_csgo.sh elif [ "${gamename}" == "Don't Starve Together" ]; then diff --git a/lgsm/functions/fix_ark.sh b/lgsm/functions/fix_ark.sh new file mode 100644 index 000000000..3ce2e0c19 --- /dev/null +++ b/lgsm/functions/fix_ark.sh @@ -0,0 +1,10 @@ +#!/bin/bash +# LinuxGSM fix_ark.sh function +# Author: Daniel Gibbs +# Website: https://gameservermanagers.com +# Description: Resolves various issues with ARK: Survival Evolved. + +# 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 \ No newline at end of file