mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-03 06:34:27 +02:00
global-functions: $ScriptInstallUpdate: drop ignore migration
Anybody had enough time to migrate, no?
This commit is contained in:
parent
0360a0ef90
commit
caddcbabe2
1 changed files with 0 additions and 10 deletions
|
@ -548,7 +548,6 @@
|
||||||
:global IDonate;
|
:global IDonate;
|
||||||
:global ScriptUpdatesBaseUrl;
|
:global ScriptUpdatesBaseUrl;
|
||||||
:global ScriptUpdatesFetch;
|
:global ScriptUpdatesFetch;
|
||||||
:global ScriptUpdatesIgnore;
|
|
||||||
:global ScriptUpdatesUrlSuffix;
|
:global ScriptUpdatesUrlSuffix;
|
||||||
:global SentConfigChangesNotification;
|
:global SentConfigChangesNotification;
|
||||||
|
|
||||||
|
@ -598,15 +597,6 @@
|
||||||
:local Comment [ $ParseKeyValueStore ($ScriptVal->"comment") ];
|
:local Comment [ $ParseKeyValueStore ($ScriptVal->"comment") ];
|
||||||
:if ($Comment->"ignore" = true) do={
|
:if ($Comment->"ignore" = true) do={
|
||||||
:set Ignore 1;
|
:set Ignore 1;
|
||||||
} else={
|
|
||||||
# TODO: remove at later time
|
|
||||||
:foreach IgnoreLoop in=$ScriptUpdatesIgnore do={
|
|
||||||
:if ($IgnoreLoop = $ScriptVal->"name") do={
|
|
||||||
:set Ignore 1;
|
|
||||||
$LogPrintExit info ("Migrating script " . $ScriptVal->"name" . " to ignore flag in comment.") false;
|
|
||||||
/ system script set comment="ignore" ($ScriptVal->"name");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
:if ($Ignore = 0) do={
|
:if ($Ignore = 0) do={
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue