|
|
@ -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)) |
|
|
|