aboutsummaryrefslogtreecommitdiffstats
path: root/packages-update.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-09-13 12:18:55 +0200
committerGravatar Christian Hesse <mail@eworm.de>2023-09-13 16:08:59 +0200
commit8b8bc7cf2db33aa53ad905e8f0a6b01754ff9c39 (patch)
tree0139c4546a50e576dc399087876a9da9f19705ba /packages-update.rsc
parent5d80b63f36c6254caafc858e59a4194cb8edcde3 (diff)
packages-update: match on word boundary
Diffstat (limited to 'packages-update.rsc')
-rw-r--r--packages-update.rsc3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages-update.rsc b/packages-update.rsc
index 8923eb7..caaac6a 100644
--- a/packages-update.rsc
+++ b/packages-update.rsc
@@ -55,8 +55,7 @@ $ScriptLock $0;
}
:local RunOrder ({});
-
-:foreach Script in=[ /system/script/find where source~("\n# provides: backup-script, ") ] do={
+:foreach Script in=[ /system/script/find where source~("\n# provides: backup-script\\b") ] do={
:local ScriptVal [ /system/script/get $Script ];
:local Store [ $ParseKeyValueStore [ $Grep ($ScriptVal->"source") ("\23 provides: backup-script, ") ] ];