From b62f9b7a65cc4c0bdbcda18a9d17f31dd03303d8 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 16 Oct 2018 21:22:47 +0200 Subject: script-updates: run global-functions on update --- script-updates | 3 +++ 1 file changed, 3 insertions(+) (limited to 'script-updates') 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"); } -- cgit v1.2.3-54-g00ecf