Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow local downloads to same
downloaddir
Currently when `dnf download --downloaddir <dir> <package>` sources`<package>` from `<dir>` it triggers a `shutil.SameFileError` exception and aborts the entire download process. This goes against the current flow which marks locally present RPMs that match a remote RPM as `[SKIPPED] <package>.rpm: Already downloaded`. This change allows downloads of locally sourced packages to the same file, treating it as a no-op.
- Loading branch information