1 changed files with 0 additions and 33 deletions
@ -1,33 +0,0 @@ |
|||||
#!/bin/bash |
|
||||
# LGSM install_gsquery.sh function |
|
||||
# Author: Daniel Gibbs |
|
||||
# Website: https://gameservermanagers.com |
|
||||
|
|
||||
local commandname="INSTALL" |
|
||||
local commandaction="Install" |
|
||||
local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" |
|
||||
|
|
||||
fn_dlgsquery(){ |
|
||||
cd "${functionsdir}" |
|
||||
echo -e "downloading gsquery.py...\c" |
|
||||
wget -N /dev/null "https://gameservermanagers.com/dl/gsquery.py" 2>&1 | grep -F "HTTP" | grep -v "Moved Permanently" | cut -c45- | uniq |
|
||||
chmod +x gsquery.py |
|
||||
} |
|
||||
|
|
||||
if [ "${engine}" == "avalanche" ]||[ "${engine}" == "goldsource" ]||[ "${engine}" == "idtech3" ]||[ "${engine}" == "realvirtuality" ]||[ "${engine}" == "source" ]||[ "${engine}" == "spark" ]||[ "${engine}" == "unity3d" ]||[ "${gamename}" == "Hurtworld" ]||[ "${engine}" == "unreal" ]||[ "${engine}" == "unreal2" ]; then |
|
||||
echo "" |
|
||||
echo "GameServerQuery" |
|
||||
echo "=================================" |
|
||||
if [ -z ${autoinstall} ]; then |
|
||||
while true; do |
|
||||
read -e -i "y" -p "Do you want to install GameServerQuery? [Y/n]" yn |
|
||||
case $yn in |
|
||||
[Yy]* ) fn_dlgsquery;break;; |
|
||||
[Nn]* ) echo ""; echo "Not installing GameServerQuery.";break;; |
|
||||
* ) echo "Please answer yes or no.";; |
|
||||
esac |
|
||||
done |
|
||||
else |
|
||||
fn_dlgsquery |
|
||||
fi |
|
||||
fi |
|
Loading…
Reference in new issue