http://qa.mandrakesoft.com/show_bug.cgi?id=6360





------- Additional Comments From [EMAIL PROTECTED]  2003-11-15 14:10 -------
Comment to comment #3:

Using

[ "$2" = "0" ] || exit 0

should not trigger the trigger as long as at least one target package remains
($2 indicates how many instances of the target packages are installed on the
system). So updating mozilla should be ok.


-- 
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


------- Reminder: -------
assigned_to: [EMAIL PROTECTED]
status: UNCONFIRMED
creation_date: 
description: 
When mozilla package is updated, the triggers of the package remove links from
/usr/lib/mozilla/plugins, e.g. the one for flashplayer.

Looking at the triggers one sees:

%triggerun ...
[ "$1" = "0" ] || exit 0

This is probably wrong, it should be:

%triggerun ...
[ "$2" = "0" ] || exit 0
    ^

This is also in the examples of /usr/share/doc/rpm-4.2/triggers and makes more
sense, because we care about what happens with the target package ($2), not our
package ($1).

Reply via email to