capsman-download-packages: use $RmFile

This commit is contained in:
Christian Hesse 2025-02-07 16:06:33 +01:00
parent 88ff031368
commit 63db96bdcc
3 changed files with 6 additions and 3 deletions

View file

@ -22,6 +22,7 @@
:global DownloadPackage;
:global LogPrint;
:global MkDir;
:global RmFile;
:global ScriptLock;
:global WaitFullyConnected;
@ -61,7 +62,7 @@
:if ([ $DownloadPackage ($File->"package-name") $InstalledVersion \
($File->"package-architecture") $PackagePath ] = true) do={
:set Updated true;
/file/remove $Package;
$RmFile $Package;
}
}