From 49599ed65823a6de064aeb4b7335c6bd02641a6d Mon Sep 17 00:00:00 2001 From: UltimateByte Date: Mon, 23 Jul 2018 23:11:14 +0200 Subject: [PATCH] Only check steam dependencies for steam games related to #1941 --- lgsm/functions/check_deps.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lgsm/functions/check_deps.sh b/lgsm/functions/check_deps.sh index f727d13d8..5db883072 100644 --- a/lgsm/functions/check_deps.sh +++ b/lgsm/functions/check_deps.sh @@ -140,8 +140,11 @@ fn_deps_detector(){ echo -e "${red}${deptocheck}${default}" sleep 0.2 fi - if [ "${deptocheck}" == "glibc.i686" ]||[ "${deptocheck}" == "libstdc++64.i686" ]||[ "${deptocheck}" == "lib32gcc1" ]||[ "${deptocheck}" == "libstdc++6:i386" ]; then - steamcmdfail=1 + # Define required dependencies for SteamCMD + if [ -n "${appid}" ]; then + if [ "${deptocheck}" == "glibc.i686" ]||[ "${deptocheck}" == "libstdc++64.i686" ]||[ "${deptocheck}" == "lib32gcc1" ]||[ "${deptocheck}" == "libstdc++6:i386" ]; then + steamcmdfail=1 + fi fi fi @@ -492,4 +495,4 @@ elif [ -f "/etc/redhat-release" ]; then fn_deps_build_redhat else fn_print_warning_nl "${distroname} dependency checking unavailable" -fi \ No newline at end of file +fi