From 8020955b3ba58bf3af7f1277bfcc2d0330213e19 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 5 Mar 2020 20:09:36 +0100 Subject: script-updates: also consider scripts with empty source for update --- script-updates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script-updates') diff --git a/script-updates b/script-updates index 35c8bff..6ecdd37 100644 --- a/script-updates +++ b/script-updates @@ -17,7 +17,7 @@ :global LogPrintExit; :global SendNotification; -:foreach Script in=[ / system script find where source~"^#!rsc" ] do={ +:foreach Script in=[ / system script find where source~"^#!rsc" or source="" ] do={ :local Ignore 0; :local ScriptVal [ / system script get $Script ]; :local ScriptFile [ / file find where name=("script-updates/" . $ScriptVal->"name") ]; -- cgit v1.2.3-70-g09d2