To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=48783





------- Additional comments from [EMAIL PROTECTED] Tue May 17 01:33:55 -0700 
2005 -------
Sorry ... I was writing a reply but hadn't finished testing one last issue by
the time I had to leave.

1)If you don't obsolete openofficeorg-manrakelinux-menus, it won't be
uninstalled when installing openofficeorg-mandriva-menus

2)It seems the triggers should be testing $2, not $1 (they currently don't seem
to run update-menus on removal of one of the packages which should trigger it)

>From the /usr/share/doc/rpm*/triggers:

"Note that the triggers are testing
$2 to see if any action should occur. Recall that the $1 passed to regular
scripts contains the number of instances of the package which will be
installed when the operation has completed. $1 for triggers is exactly
the same -- it is the number of instances of the source (or triggered)
package which will remain when the trigger has completed. Similarly, $2
is the number of instances of the target package which will remain."

So, stock %clean_menus is not suitable for a trigger ...

Maybe:
%{?!trigger_clean_menus:%define trigger_clean_menus if [ "$2" = "0" -a -x
/usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi}

and replace %{clean_menus} in the trigger with %{trigger_clean_menus}

Otherwise, it looks good.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to