mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-08-06 19:25:36 +02:00
capsman-download-packages: use $RmFile
This commit is contained in:
parent
88ff031368
commit
63db96bdcc
3 changed files with 6 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue