aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-03-05 20:09:36 +0100
committerGravatar Christian Hesse <mail@eworm.de>2020-03-05 20:09:36 +0100
commit8020955b3ba58bf3af7f1277bfcc2d0330213e19 (patch)
tree6092c8c12895aa496499f72048be381538738313
parentf3e2fb654b171446ce17e7ab01c7929d85f13839 (diff)
script-updates: also consider scripts with empty source for update
-rw-r--r--script-updates2
1 files changed, 1 insertions, 1 deletions
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") ];