capsman-download-packages: wait to be fully connected

This commit is contained in:
Christian Hesse 2020-07-14 14:29:29 +02:00
parent c4ff95b3ae
commit 0b5ab83339
2 changed files with 7 additions and 3 deletions

View file

@ -12,8 +12,10 @@
:global LogPrintExit;
:global MkDir;
:global ScriptLock;
:global WaitFullyConnected;
$ScriptLock "capsman-download-packages";
$WaitFullyConnected;
:local PackagePath [ $CleanFilePath [ / caps-man manager get package-path ] ];
:local InstalledVersion [ / system package update get installed-version ];