mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-11 18:48:26 +00:00
Merge pull request #319 from klightspeed/1.4#waitformodupdate
Wait for SteamCMD to download mod
This commit is contained in:
commit
0977cb00be
@ -930,7 +930,7 @@ doDownloadMod(){
|
||||
while true; do
|
||||
./$steamcmdexec +@NoPromptForPassword 1 +login ${steamlogin:-anonymous} +workshop_download_item $mod_appid $modid +quit
|
||||
if [ ! -d "$moddldir" ]; then break; fi
|
||||
local newsize="`du -s "$moddldir" | cut -f1`"
|
||||
local newsize="`du -s "$moddldir/.." | cut -f1`"
|
||||
if [ $newsize -eq $dlsize ]; then break; fi
|
||||
dlsize=$newsize
|
||||
done
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user