packages-update: lock against multiple invocation

This commit is contained in:
Christian Hesse 2019-12-05 09:55:37 +01:00
parent 3db466f476
commit 7365bfa525

View file

@ -6,6 +6,9 @@
:global DownloadPackage; :global DownloadPackage;
:global ScriptFromTerminal; :global ScriptFromTerminal;
:global ScriptLock;
$ScriptLock "packages-update";
:local Update [ / system package update get ]; :local Update [ / system package update get ];