From a1af9577ca2e1300aa920ff5b05cd4a4492f5f88 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 9 Sep 2022 14:02:02 +0200 Subject: global-functions: $ScriptInstallUpdate: prepare for future certificate chain --- global-functions | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/global-functions b/global-functions index 5bbe7c4..e66415b 100644 --- a/global-functions +++ b/global-functions @@ -777,6 +777,10 @@ $LogPrintExit2 warning $0 ("Downloading certificate failed, trying without.") false; } + :if ([ $CertificateAvailable "E1" ] = false) do={ + $LogPrintExit2 warning $0 ("Downloading certificate failed, trying without.") false; + } + :foreach Script in=$Scripts do={ :if ([ :len [ /system/script/find where name=$Script ] ] = 0) do={ $LogPrintExit2 info $0 ("Adding new script: " . $Script) false; -- cgit v1.2.3-70-g09d2