aboutsummaryrefslogtreecommitdiffstats
path: root/script-updates
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2018-10-16 21:22:47 +0200
committerGravatar Christian Hesse <mail@eworm.de>2018-10-16 21:22:47 +0200
commitb62f9b7a65cc4c0bdbcda18a9d17f31dd03303d8 (patch)
treeb2253b4af854365f65ce4ccb8ada8dadf9682e83 /script-updates
parent5a6650b40e2dd76e0a4a75eff2e2fdd8e9c04e00 (diff)
script-updates: run global-functions on update
Diffstat (limited to 'script-updates')
-rw-r--r--script-updates3
1 files changed, 3 insertions, 0 deletions
diff --git a/script-updates b/script-updates
index 98d2440..5f3ad03 100644
--- a/script-updates
+++ b/script-updates
@@ -58,6 +58,9 @@
:log info ("Updating script: " . $scriptname);
/ system script set owner=$scriptname source=$sourcenew \
dont-require-permissions=$"dont-require-permissions" $script;
+ :if ($scriptname = "global-functions") do={
+ / system script run global-functions;
+ }
} else={
:log debug ("Script " . $scriptname . " did not change");
}