[Mageia-dev] Caution about using src.rpm from mdv since today

Pascal Terjan pterjan at gmail.com
Fri Feb 11 15:41:00 CET 2011


On Fri, Feb 11, 2011 at 13:52, Michael Scherer <misc at zarb.org> wrote:
> Le vendredi 11 février 2011 à 14:42 +0100, Dexter Morgan a écrit :
>
>>
>> If you don't know what a file trigger is :
>>
>> Filetriggers allow to run some scripts when some file has been added or removed.
>>
>> The typical use cases are:
>>
>>     updating /etc/ld.so.cache when some libraries have been
>> added/removed in /usr/lib or /lib
>>     running update-menus to update menus of non-XDG compliant desktops
>> when some *.desktop have been added/removed in /usr/share/applications
>
> People can also look at http://wiki.mandriva.com/en/Rpm_filetriggers
>
>> please take care to not remove the filetriggers and not backport rpm5 new filetrigger method
>
> Well, it use this :
>
>  %triggerin -n common -- %_datadir/glib-2.0/schemas/*.xml
>
> what happen when we push this to a regular rpm ( ie not rpm 5 ) system ?
> rpm accept it, or it fail to compile ?

It should accept it, this is a regular trigger with a path instead of
the package name.
It will just never be triggered


More information about the Mageia-dev mailing list