mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-12-06 18:09:28 +00:00
global-functions: $ScriptInstallUpdate: either or...
... but not both.
This commit is contained in:
parent
66f247cf6e
commit
dad4bc3f18
1 changed files with 1 additions and 0 deletions
|
|
@ -1312,6 +1312,7 @@
|
|||
:if ($ScriptVal->"source" = "#!rsc by RouterOS\n") do={
|
||||
$LogPrint warning $0 ("Removing dummy. Typo on installation?");
|
||||
/system/script/remove $Script;
|
||||
:error false;
|
||||
}
|
||||
:if ([ :len ($ScriptInfo->"base-url") ] = 0 && [ :len ($ScriptInfo->"url-suffix") ] = 0 && \
|
||||
[ :len $CheckSum ] = 0) do={
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue