File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -251,12 +251,15 @@ fn_deps_detector() {
251
251
if [ " ${deptocheck} " == " libsdl2-2.0-0:i386" ] && [ -z " ${appid} " ]; then
252
252
array_deps_required=(" ${array_deps_required[@]/ libsdl2-2.0-0: i386/ } " )
253
253
steamcmdstatus=1
254
+ return
254
255
elif [ " ${deptocheck} " == " steamcmd" ] && [ -z " ${appid} " ]; then
255
256
array_deps_required=(" ${array_deps_required[@]/ steamcmd/ } " )
256
257
steamcmdstatus=1
258
+ return
257
259
elif [ " ${deptocheck} " == " steamcmd" ] && [ " ${distroid} " == " debian" ] && ! grep -qE ' [^deb]+non-free([^-]|$)' /etc/apt/sources.list; then
258
260
array_deps_required=(" ${array_deps_required[@]/ steamcmd/ } " )
259
261
steamcmdstatus=1
262
+ return
260
263
# Java: Added for users using Oracle JRE to bypass check.
261
264
elif [[ ${deptocheck} == " openjdk" * ]] || [[ ${deptocheck} == " java" * ]]; then
262
265
# Is java already installed?
You can’t perform that action at this time.
0 commit comments