|
|
@ -251,12 +251,15 @@ fn_deps_detector() { |
|
|
|
if [ "${deptocheck}" == "libsdl2-2.0-0:i386" ] && [ -z "${appid}" ]; then |
|
|
|
array_deps_required=("${array_deps_required[@]/libsdl2-2.0-0:i386/}") |
|
|
|
steamcmdstatus=1 |
|
|
|
return |
|
|
|
elif [ "${deptocheck}" == "steamcmd" ] && [ -z "${appid}" ]; then |
|
|
|
array_deps_required=("${array_deps_required[@]/steamcmd/}") |
|
|
|
steamcmdstatus=1 |
|
|
|
return |
|
|
|
elif [ "${deptocheck}" == "steamcmd" ] && [ "${distroid}" == "debian" ] && ! grep -qE '[^deb]+non-free([^-]|$)' /etc/apt/sources.list; then |
|
|
|
array_deps_required=("${array_deps_required[@]/steamcmd/}") |
|
|
|
steamcmdstatus=1 |
|
|
|
return |
|
|
|
# Java: Added for users using Oracle JRE to bypass check. |
|
|
|
elif [[ ${deptocheck} == "openjdk"* ]] || [[ ${deptocheck} == "java"* ]]; then |
|
|
|
# Is java already installed? |
|
|
|