Description of problem: Updating: beagle /var/tmp/rpm/rpm-tpm.97919: line 8: cd: /usr/lib64/firefox-1.5.0.1/extensions: No such file or directory Version-Release number of selected component (if applicable): beagle-0.2.1-11 How reproducible: Always Steps to Reproduce: 1. Install beagle (assuming firefox installed) on a ppc64 box Actual results: Trigger fails Expected results: Trigger works Additional info: You can not assume the presence of lib64 indicates that that is the primary arch, this is untrue on big-endian 64bit systems (ppc64, sparc64) which run the 32 bit arch as the primary arch. The trigger is completely incorrect for these archs
Hmm, I could do if [ -d /usr/lib64/firefox-$latest/extensions ]; then libdir=/usr/lib64 else libdir=/usr/lib fi Or can I use %{_libdir} in a trigger ? That would be nicer.
*** Bug 182569 has been marked as a duplicate of this bug. ***
I tried to make the trigger more robust, can you try again, Paul ?
Paul, any luck ? Warren, did you want to take a stab at improving the trigger ?
Yes the trigger no longer fails on the G5.
I still want to rewrite the entire %post and %trigger because this leaves behind files and is untracked by RPM. This is a clean way of doing this.
Er, I mean there is a clean way of doing this.