global-functions: $ScriptInstallUpdate: use complete property name

This commit is contained in:
Christian Hesse 2023-02-07 21:20:49 +01:00
parent 58a6fac3d9
commit d63db7ea95

View file

@ -748,7 +748,7 @@
:local ScriptFile [ /file/find where name=("script-updates/" . $ScriptVal->"name") ];
:local SourceNew;
:if ([ :len $ScriptFile ] > 0) do={
:set SourceNew [ /file/get $ScriptFile content ];
:set SourceNew [ /file/get $ScriptFile contents ];
/file/remove $ScriptFile;
}