From e33b4af43396fbe542db11494dbd8053aad9c6c8 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 31 Mar 2020 12:58:13 +0200 Subject: global-functions: $ScriptInstallUpdate: ignore empty scripts Now that script-updates is gone we support installing new scripts with $ScriptInstallUpdate only. --- global-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'global-functions') 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") ]; -- cgit v1.2.3-54-g00ecf