Browse Source

move if

pull/3583/head
Daniel Gibbs 4 years ago
parent
commit
5acec77bfc
No known key found for this signature in database GPG Key ID: 5D5AB867A27738EC
  1. 9
      lgsm/functions/check_deps.sh

9
lgsm/functions/check_deps.sh

@ -256,7 +256,11 @@ fn_deps_detector(){
fi
# Outcome of Check.
if [ "${depstatus}" == "0" ]; then
if [ "${steamcmdstatus}" == "1" ]; then
# If SteamCMD is not available in repo dont check for it.
:
elif [ "${depstatus}" == "0" ]; then
# If dependency is found.
missingdep=0
if [ "${commandname}" == "INSTALL" ]; then
@ -277,9 +281,6 @@ fn_deps_detector(){
steamcmdfail=1
fi
done
# If SteamCMD is not available in repo dont check for it.
elif [ "${steamcmdstatus}" == "1" ]; then
:
fi
fi
unset depstatus

Loading…
Cancel
Save