[Rpm-maint] [rpm-software-management/rpm] Add support for %preuntrans and %postuntrans scriptlets (PR #2177)
Panu Matilainen
notifications at github.com
Wed Sep 21 05:51:28 UTC 2022
@pmatilai commented on this pull request.
> @@ -1844,6 +1853,11 @@ int rpmtsRun(rpmts ts, rpmps okProbs, rpmprobFilterFlags ignoreSet)
if (!(rpmtsFlags(ts) & (RPMTRANS_FLAG_TEST|RPMTRANS_FLAG_BUILD_PROBS)))
tsmem->pool = rpmstrPoolFree(tsmem->pool);
+ /* Run %preuntrans scripts unless disabled */
+ if (!(rpmtsFlags(ts) & RPMTRANS_FLAG_NOPRETRANS)) {
See above, this was actually intentional, but it's of course impossible tell from the patch when all the corresponding bits *have* been added there.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2177#discussion_r976059830
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/2177/review/1114791043 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220920/1b81f80f/attachment.html>
More information about the Rpm-maint
mailing list