rpm-software-management / yum

[DEPRECATED] YUM package manager
GNU General Public License v2.0
127 stars 87 forks source link

Don't reset the package localpath to temporary after download (RhBug:… #112

Closed lukash closed 4 years ago

lukash commented 4 years ago

…1757613)

The path is already changed from temporary to final earlier in the function, as the file is renamed. The removed line seems superfluous and out of place, the value in po.localpath should already be the correct one.

https://bugzilla.redhat.com/show_bug.cgi?id=1757613


I can't really be sure this won't break something elsewhere. I tested the change works on the remote VM against the Spacewalk/Satellite 5 server (as mentioned in the bugzilla), as well as in my RHEL7 container against regular repositories, for both regular package installation and the --downloadonly switch.