aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2019-12-05 09:55:37 +0100
committerGravatar Christian Hesse <mail@eworm.de>2019-12-05 11:41:49 +0100
commit7365bfa52510daba4cea452dcf786edaaf990a77 (patch)
treed08c960b616aa355428d6130407e606716082243
parent3db466f476ae9bdf51a27647ead8ff34800efd0d (diff)
packages-update: lock against multiple invocation
-rw-r--r--packages-update3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages-update b/packages-update
index 0e0a87f..9a524e1 100644
--- a/packages-update
+++ b/packages-update
@@ -6,6 +6,9 @@
:global DownloadPackage;
:global ScriptFromTerminal;
+:global ScriptLock;
+
+$ScriptLock "packages-update";
:local Update [ / system package update get ];