diff --git a/global-functions b/global-functions index b7eec27..a139345 100644 --- a/global-functions +++ b/global-functions @@ -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; }