aboutsummaryrefslogtreecommitdiffstats
path: root/capsman-download-packages
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-07-14 14:29:29 +0200
committerGravatar Christian Hesse <mail@eworm.de>2020-07-14 14:29:29 +0200
commit0b5ab833390a9b392b0b89fda9db0943456dda1a (patch)
tree18d47a073112c8163b293601638ea129d2990269 /capsman-download-packages
parentc4ff95b3aeed3abb588ee94bc02d4c50310f3857 (diff)
capsman-download-packages: wait to be fully connected
Diffstat (limited to 'capsman-download-packages')
-rw-r--r--capsman-download-packages2
1 files changed, 2 insertions, 0 deletions
diff --git a/capsman-download-packages b/capsman-download-packages
index e65ddc7..88aac0e 100644
--- a/capsman-download-packages
+++ b/capsman-download-packages
@@ -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 ];