diff options
author | Christian Hesse <mail@eworm.de> | 2020-03-31 12:58:13 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2020-03-31 12:58:13 +0200 |
commit | e33b4af43396fbe542db11494dbd8053aad9c6c8 (patch) | |
tree | 2ba253265801bec83a6f13bf71b66853d7ee875f /global-functions | |
parent | 04460debfc11dbb88c9a86c56a76053edf9fe71f (diff) |
global-functions: $ScriptInstallUpdate: ignore empty scripts
Now that script-updates is gone we support installing new scripts with
$ScriptInstallUpdate only.
Diffstat (limited to 'global-functions')
-rw-r--r-- | global-functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/global-functions b/global-functions index 8ee84f8..cc4f1b9 100644 --- a/global-functions +++ b/global-functions @@ -399,7 +399,7 @@ } } - :foreach Script in=[ / system script find where source~"^#!rsc" or source="" ] do={ + :foreach Script in=[ / system script find where source~"^#!rsc" ] do={ :local Ignore 0; :local ScriptVal [ / system script get $Script ]; :local ScriptFile [ / file find where name=("script-updates/" . $ScriptVal->"name") ]; |