rpm-software-management / dnf5

Next-generation RPM package management system
Other
258 stars 87 forks source link

package_downloader: Ensure creation of intermediate directories #1876

Closed m-blaha closed 5 days ago

m-blaha commented 5 days ago

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.