aboutsummaryrefslogtreecommitdiffstats
path: root/packages-update.rsc
diff options
context:
space:
mode:
Diffstat (limited to 'packages-update.rsc')
-rw-r--r--packages-update.rsc5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages-update.rsc b/packages-update.rsc
index 85a241a..d011ea1 100644
--- a/packages-update.rsc
+++ b/packages-update.rsc
@@ -33,6 +33,11 @@ $ScriptLock $0;
:local NumInstalled [ $VersionToNum ($Update->"installed-version") ];
:local NumLatest [ $VersionToNum ($Update->"latest-version") ];
+:if ($NumInstalled < 0x070d0000 && $NumLatest > 0x070d0000) do={
+ $LogPrintExit2 error $0 ("Migration to wireless/wifi package in RouterOS " . \
+ ($Update->"latest-version") . " is pending. Please update manually!") true;
+}
+
:local DoDowngrade false;
:if ($NumInstalled > $NumLatest) do={
:if ([ $ScriptFromTerminal $0 ] = true) do={