Commit ab4aef4d authored by Christian Hesse's avatar Christian Hesse

global-functions: $DownloadPackage: re-introduce check for valid package

Even if fetch tool does its job right now... Chances are that the
download servers have corrupted or empty files.
parent 70798de8
......@@ -200,6 +200,11 @@
:return false;
:if ([ / file get [ find where name=$PkgDest ] type ] != "package") do={
/ file remove [ find where name=$PkgDest ];
:return false;
:return true;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment