:global GlobalFuncReady false;
# Git commit id & info, expected configuration version
-:global CommitId "main/258/7dc4403a";
+:global CommitId "main/259/82f15448";
:global CommitTAG "unknown";
-:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 02:25:02 28.04.2026.";
+:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 02:30:02 28.04.2026.";
# The variables are received right here.
:global GlobalConfVersion 138;
:if ($isInfo != false || $PkgUpdStatus = true) do={
$LogPrint debug $0 ("\$PkgUpdStatus = " . $PkgUpdStatus);
:if ([ :typeof $arrDeviceInfo ] != "array") do={
-# :set arrDeviceInfo [:toarray {}];
+ :set arrDeviceInfo [:toarray $arrDeviceInfo];
}
:retry command={:set ($arrDeviceInfo->"devUpdates") [ /system/package/update/get ]} delay=500ms max=5 on-error={:log error ("Error")};
:return true;