Browse Source

bugs

pull/2697/head
Daniel Gibbs 5 years ago
parent
commit
83e2cbf9be
  1. 4
      lgsm/functions/check_steamcmd.sh

4
lgsm/functions/check_steamcmd.sh

@ -13,7 +13,6 @@ fn_install_steamcmd(){
fn_fetch_file "http://media.steampowered.com/client/steamcmd_linux.tar.gz" "${tmpdir}" "steamcmd_linux.tar.gz" fn_fetch_file "http://media.steampowered.com/client/steamcmd_linux.tar.gz" "${tmpdir}" "steamcmd_linux.tar.gz"
fn_dl_extract "${tmpdir}" "steamcmd_linux.tar.gz" "${steamcmddir}" fn_dl_extract "${tmpdir}" "steamcmd_linux.tar.gz" "${steamcmddir}"
chmod +x "${steamcmddir}/steamcmd.sh" chmod +x "${steamcmddir}/steamcmd.sh"
fi
} }
fn_check_steamcmd_user(){ fn_check_steamcmd_user(){
@ -71,7 +70,8 @@ fn_check_steamcmd_check(){
if [ "$(command -v steamcmd 2>/dev/null)" ]; then if [ "$(command -v steamcmd 2>/dev/null)" ]; then
steamcmdcommand="steamcmd" steamcmdcommand="steamcmd"
else else
steamcmdcommand="${steamcmdcommand}" steamcmdcommand="./steamcmd.sh"
fi
} }
fn_check_steamcmd_user fn_check_steamcmd_user

Loading…
Cancel
Save