Browse Source

Update fn_install_serverfiles

pull/388/head
Scarsz 10 years ago
parent
commit
2ce3f5bf94
  1. 7
      functions/fn_install_serverfiles

7
functions/fn_install_serverfiles

@ -5,12 +5,7 @@
# Version: 050515
fn_steaminstallcommand(){
if [ -z "${steamuser}" ]; then
fn_printwarningnl "SteamCMD user variable is not assigned in the main script! Resorting to anonymous login"
steamuser="anonymous"
steampass=""
fi
fn_check_steamuser
counter="0"
while [ "${counter}" == "0" ]||[ "$(grep -wc 0x402 .fn_install_serverfiles.tmp)" -ge "1" ]||[ "$(grep -wc 0x406 .fn_install_serverfiles.tmp)" -ge "1" ]||[ "$(grep -wc 0x6 .fn_install_serverfiles.tmp)" -ge "1" ]||[ "$(grep -wc 0x106 .fn_install_serverfiles.tmp)" -ge "1" ]; do
counter=$((counter+1))

Loading…
Cancel
Save