From 0b5ab833390a9b392b0b89fda9db0943456dda1a Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 14 Jul 2020 14:29:29 +0200 Subject: capsman-download-packages: wait to be fully connected --- capsman-download-packages | 2 ++ 1 file changed, 2 insertions(+) (limited to 'capsman-download-packages') 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 ]; -- cgit v1.2.3-70-g09d2