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:
Christian Hesse 2019-02-28 14:41:44 +01:00
parent fee0b6eb9b
commit 99a23f99e5

View file

@ -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;
}