Browse Source

removed duplicate in if statement

pull/450/head
Daniel Gibbs 10 years ago
parent
commit
62d32dc38b
  1. 6
      functions/fn_install_gsquery

6
functions/fn_install_gsquery

@ -2,7 +2,7 @@
# LGSM fn_install_gsquery function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
# Version: 100415
# Version: 070715
fn_dlgsquery(){
cd "${rootdir}"
@ -11,7 +11,7 @@ wget -N /dev/null "http://gameservermanagers.com/dl/gsquery.py" 2>&1 | grep -F "
chmod +x gsquery.py
}
if [ "${engine}" == "avalanche" ]||[ "${engine}" == "goldsource" ]||[ "${engine}" == "realvirtuality" ]||[ "${engine}" == "source" ]||[ "${engine}" == "spark" ]||[ "${engine}" == "unity3d" ]||[ "${engine}" == "unreal" ]||[ "${engine}" == "unreal2" ]||[ "${engine}" == "unreal2" ]; then
if [ "${engine}" == "avalanche" ]||[ "${engine}" == "goldsource" ]||[ "${engine}" == "realvirtuality" ]||[ "${engine}" == "source" ]||[ "${engine}" == "spark" ]||[ "${engine}" == "unity3d" ]||[ "${engine}" == "unreal" ]||[ "${engine}" == "unreal2" ]; then
echo ""
echo "GameServerQuery"
echo "============================"
@ -27,4 +27,4 @@ if [ "${engine}" == "avalanche" ]||[ "${engine}" == "goldsource" ]||[ "${engine}
else
fn_dlgsquery
fi
fi
fi

Loading…
Cancel
Save