Browse Source

remove unwanted code

pull/2749/head
Daniel Gibbs 5 years ago
parent
commit
dbf94a6334
  1. 3
      lgsm/functions/check_steamcmd.sh

3
lgsm/functions/check_steamcmd.sh

@ -47,9 +47,6 @@ fn_check_steamcmd(){
# Checks if SteamCMD exists when starting or updating a server. # Checks if SteamCMD exists when starting or updating a server.
# Only install if steamcmd package is missing or steamcmd dir is missing. # Only install if steamcmd package is missing or steamcmd dir is missing.
if [ ! -f "${steamcmddir}/steamcmd.sh" ]&&[ -z "$(command -v steamcmd 2>/dev/null)" ]; then if [ ! -f "${steamcmddir}/steamcmd.sh" ]&&[ -z "$(command -v steamcmd 2>/dev/null)" ]; then
echo "#############"
which steamcmd
echo "#############"
if [ "${function_selfname}" == "command_install.sh" ]; then if [ "${function_selfname}" == "command_install.sh" ]; then
fn_install_steamcmd fn_install_steamcmd
else else

Loading…
Cancel
Save