aboutsummaryrefslogtreecommitdiffstats
path: root/script-updates
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2018-08-27 11:15:03 +0200
committerGravatar Christian Hesse <mail@eworm.de>2018-08-27 11:15:03 +0200
commit21f2b04f9a7870d92aff22963a74da1758b7e43d (patch)
treeb220eb615b382e5e447f46bebf5bcb13aac798c7 /script-updates
parent529acebc7bf57a6407d35c0bfc7aca11d04a08fe (diff)
script-updates: add support for url suffix
This allows to fetch from different branch...
Diffstat (limited to 'script-updates')
-rw-r--r--script-updates3
1 files changed, 2 insertions, 1 deletions
diff --git a/script-updates b/script-updates
index 8267ebf..ccfdd58 100644
--- a/script-updates
+++ b/script-updates
@@ -6,6 +6,7 @@
:global "script-updates-fetch";
:global "script-updates-baseurl";
+:global "script-updates-urlsuffix";
:global "script-updates-ignore";
:foreach script in=[ / system script find ] do={
@@ -23,7 +24,7 @@
:do {
/ tool fetch check-certificate=yes-without-crl \
dst-path=("script-updates/" . $scriptname) \
- ($"script-updates-baseurl" . $scriptname);
+ ($"script-updates-baseurl" . $scriptname . $"script-updates-urlsuffix");
:set scriptfile [ / file find where name=("script-updates/" . $scriptname) ];
} on-error={
:log debug ("Failed fetching " . $scriptname);