From 386173613cbde1c6735cabca56dba41f8c2b4071 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 21 Jun 2015 18:31:45 +0100 Subject: [PATCH] unreal bug fix --- functions/fn_deps_detect | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/functions/fn_deps_detect b/functions/fn_deps_detect index c622f829e..f4dfd73c8 100644 --- a/functions/fn_deps_detect +++ b/functions/fn_deps_detect @@ -21,15 +21,15 @@ elif [ "${executable}" == "./runSam3_DedicatedServer.sh" ];then elif [ "${executable}" == "./7DaysToDie.sh" ];then executable=7DaysToDie.x86 elif [ "${executable}" == "./ucc-bin" ];then - executable=ucc-bin-real -elif [ "${executable}" == "./ucc-bin" ];then + if [ -f "${executabledir}/ucc-bin-real" ]; then executable=ucc-bin-real elif [ -f "${executabledir}/ut2004-bin" ]; then executable=ut2004-bin else executable=ut-bin - fi + fi + elif [ "${executable}" == "./ts3server_startscript.sh" ];then executable=ts3server_linux_amd64 fi