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
parent
commit
03c95086c0
No known key found for this signature in database GPG Key ID: 2EBB36015C6D78E2
  1. 2
      lgsm/functions/check_deps.sh

2
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.

Loading…
Cancel
Save