check-routeros-update: accept lower and upper case characters

This commit is contained in:
Christian Hesse 2020-05-26 22:59:14 +02:00
parent 83a8743879
commit bcf57f0adb

View file

@ -62,7 +62,7 @@
:if ([ $ScriptFromTerminal "check-routeros-update" ] = true) do={
:put ("Do you want to install RouterOS version " . $Update->"latest-version" . "? [y/N]");
:if ([ :terminal inkey timeout=60 ] = 121) do={
:if (([ :terminal inkey timeout=60 ] % 32) = 25) do={
$DoUpdate;
} else={
:put "Canceled...";