aboutsummaryrefslogtreecommitdiffstats
path: root/packages-update
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2021-06-23 00:43:42 +0200
committerGravatar Christian Hesse <mail@eworm.de>2021-06-23 08:38:44 +0200
commit420986fdfcaee163da10e5e8c6376b6e178c025c (patch)
tree00c57ba216caeed59051f7eeb66487977fbc5e4d /packages-update
parent06a0f42039008120bd256680b9433033eca2f5e1 (diff)
packages-update: use 'provides' to find backup scripts
Diffstat (limited to 'packages-update')
-rw-r--r--packages-update2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages-update b/packages-update
index bb138d7..627a7c4 100644
--- a/packages-update
+++ b/packages-update
@@ -52,7 +52,7 @@ $ScriptLock $0;
}
}
-:foreach Script in=[ / system script find where name~"^(cloud|email|upload)-backup\$" ] do={
+:foreach Script in=[ / system script find where source~"\n# provides: backup-script\n" ] do={
:local ScriptName [ / system script get $Script name ];
:do {
$LogPrintExit2 info $0 ("Running backup script " . $ScriptName . " before update.") false;