Browse Source
fix(deps): prevent steamcmd showing as a required when it is not
repeat issue. Looks like I got the if statement wrong.
pull/3633/head
Daniel Gibbs
4 years ago
No known key found for this signature in database
GPG Key ID: 2EBB36015C6D78E2
1 changed files with
1 additions and
1 deletions
-
lgsm/functions/check_deps.sh
|
|
@ -225,7 +225,7 @@ fn_deps_detector(){ |
|
|
|
## Check. |
|
|
|
# SteamCMD: Will be removed from required array if no appid is present or non-free repo is not available. |
|
|
|
# This will cause SteamCMD to be installed using tar. |
|
|
|
if [ -z "${appid}" ]||[ "${deptocheck}" == "steamcmd" ]&&[ "${distroid}" == "debian" ]&& ! grep -qE "^deb .*non-free" /etc/apt/sources.list; then |
|
|
|
if [ -z "${appid}" ]&&[ "${deptocheck}" == "steamcmd" ]||[ "${distroid}" == "debian" ]&& ! grep -qE "^deb .*non-free" /etc/apt/sources.list; then |
|
|
|
array_deps_required=( "${array_deps_required[@]/steamcmd}" ) |
|
|
|
steamcmdstatus=1 |
|
|
|
# Java: Added for users using Oracle JRE to bypass check. |
|
|
|