diff options
author | Christian Hesse <mail@eworm.de> | 2019-12-05 09:55:37 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2019-12-05 11:41:49 +0100 |
commit | 7365bfa52510daba4cea452dcf786edaaf990a77 (patch) | |
tree | d08c960b616aa355428d6130407e606716082243 /packages-update | |
parent | 3db466f476ae9bdf51a27647ead8ff34800efd0d (diff) |
packages-update: lock against multiple invocation
Diffstat (limited to 'packages-update')
-rw-r--r-- | packages-update | 3 |
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 ]; |