mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-06-24 18:48:37 +02:00
global-functions: remove extra check in $DownloadPackage
Should be fixed in RouterOS 6.44rc1 with changelog: *) fetch - improved file downloading to slow memory;
This commit is contained in:
parent
fee0b6eb9b
commit
99a23f99e5
1 changed files with 0 additions and 7 deletions
|
@ -178,13 +178,6 @@
|
|||
:return false;
|
||||
}
|
||||
|
||||
# Fetch tool in RouterOS has an issue where it truncates files on slow
|
||||
# storage. Detect that... TODO: Remove when fixed. (Ticket#2019021122006199)
|
||||
:if ([ / file get [ find where name=$PkgDest ] type ] != "package") do={
|
||||
/ file remove [ find where name=$PkgDest ];
|
||||
:return false;
|
||||
}
|
||||
|
||||
:return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue