global-functions: $ScriptInstallUpdate: prepare for future certificate chain

This commit is contained in:
Christian Hesse 2022-09-09 14:02:02 +02:00
parent e228c73984
commit a1af9577ca

View file

@ -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;