aboutsummaryrefslogtreecommitdiffstats
path: root/packages-update
diff options
context:
space:
mode:
Diffstat (limited to 'packages-update')
-rw-r--r--packages-update4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages-update b/packages-update
index 10b4a45..44bd7cb 100644
--- a/packages-update
+++ b/packages-update
@@ -22,8 +22,8 @@
}
}
-:if ([ / system script print count-only where name="email-backup" ] > 0) do={
- / system script run email-backup;
+:foreach Script in=[ / system script find where name~"^(email|upload)-backup\$" ] do={
+ / system script run $Script;
}
:log info ("Rebooting for update.");