Browse Source
Only check steam dependencies for steam games
related to #1941
pull/1958/head
UltimateByte
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
3 deletions
-
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 |
|
|
|
fi |
|
|
|