[Rpm-maint] [rpm-software-management/rpm] Add support for --oldpackage to --freshen (PR #2122)

Michal Domonkos notifications at github.com
Thu Jul 14 13:27:39 UTC 2022


@dmnks commented on this pull request.



>      if (name != NULL)
         mi = rpmtsInitIterator(ts, RPMDBI_NAME, name, 0);
     if (rpmtsColor(ts) && arch)
 	rpmdbSetIteratorRE(mi, RPMTAG_ARCH, RPMMIRE_DEFAULT, arch);
 
     while ((oldH = rpmdbNextIterator(mi)) != NULL) {
+	if (allowOld)

IOW, it can be the same version, in which case it would be re-installed (but I'm not 100% sure as there might be some other check preventing that at a later point in the call stack).

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2122#discussion_r921154362
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/2122/review/1038868094 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220714/46573f4d/attachment.html>


More information about the Rpm-maint mailing list