mirror of
https://github.com/nymurbd/MikroTik-scripts.git
synced 2025-07-16 13:04:32 +02:00
global-functions: $ScriptInstallUpdate: use complete property name
This commit is contained in:
parent
58a6fac3d9
commit
d63db7ea95
1 changed files with 1 additions and 1 deletions
|
@ -748,7 +748,7 @@
|
||||||
:local ScriptFile [ /file/find where name=("script-updates/" . $ScriptVal->"name") ];
|
:local ScriptFile [ /file/find where name=("script-updates/" . $ScriptVal->"name") ];
|
||||||
:local SourceNew;
|
:local SourceNew;
|
||||||
:if ([ :len $ScriptFile ] > 0) do={
|
:if ([ :len $ScriptFile ] > 0) do={
|
||||||
:set SourceNew [ /file/get $ScriptFile content ];
|
:set SourceNew [ /file/get $ScriptFile contents ];
|
||||||
/file/remove $ScriptFile;
|
/file/remove $ScriptFile;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue