packages-update: drop check for device-mode downgrade...

... as things have been revised and this specific setting was removed.
This commit is contained in:
Christian Hesse 2024-11-14 21:03:07 +01:00
parent a224fbc424
commit 5b09469cc6

View file

@ -99,12 +99,6 @@
:local DoDowngrade false;
:if ($NumInstalled > $NumLatest) do={
:if (([ /system/device-mode/get ]->"downgrade") = false) do={
$LogPrint error $ScriptName \
("The device mode has locked downgrades! You will need physical access!");
:error false;
}
:if ([ $ScriptFromTerminal $ScriptName ] = true) do={
:put "Latest version is older than installed one. Want to downgrade? [y/N]";
:if (([ /terminal/inkey timeout=60 ] % 32) = 25) do={