script-updates: run global-functions on update

This commit is contained in:
Christian Hesse 2018-10-16 21:22:47 +02:00
parent 5a6650b40e
commit b62f9b7a65

View file

@ -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");
}