Packages in repositories are typically stored in a multi-level directory
structure. Previously, the download() method only created the final
directory in the destination path, failing if any intermediate
directories were missing. This patch ensures the entire destination path
is created.
Packages in repositories are typically stored in a multi-level directory structure. Previously, the
download()
method only created the final directory in the destination path, failing if any intermediate directories were missing. This patch ensures the entire destination path is created.