Bug 100509
Summary: | First argument of a trigger script always matches second argument | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | James Olin Oden <james.oden> | ||||
Component: | rpm | Assignee: | Jeff Johnson <jbj> | ||||
Status: | CLOSED ERRATA | QA Contact: | Mike McLean <mikem> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 9 | CC: | bugzilla, chris.ricker, tao | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2003-12-27 01:36:05 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 107562 | ||||||
Attachments: |
|
Description
James Olin Oden
2003-07-23 00:15:42 UTC
Created attachment 93068 [details]
Patch to use name of rpm causing containing trigger to determine number instances for arg1
I'm having a different problem that I think may be related: If b (in the above example) has an an *uninstall* trigger, it is executed with $1 = 0 on upgrade to b-1-2. $1 should have been 1, I think, since b is still installed after the upgrade. Added (finally) in CVS, should be in rpm-4.2.2-0.8 and later. Thanks for the patch. An errata has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2004-098.html |