On Fri, Jan 23, 2009 at 10:49:58AM -0600, Jon Nelson wrote:
Can you go into more detail regarding these virtual triggers? They sound like a really good idea.
The idea is pretty simple: Currently rpm triggers just work on package names. If they would also consider the "Provides" of a package, we could change rpm's find-provides script so that it automatically adds a Provides: trigger(gtk-update-icon-cache) if the filelist contains an icon. Now, some other package would contain a trigger scriptlet that triggers on "trigger(gtk-update-icon-cache)", this scriptlet then would call the gtk-update-icon-cache application. The advantage is that packagers don't need to put scriptlets in their package, thus mistakes are reduced. Triggers could also be used for other things which currently are done by scriptlets, e.g. - run ldconfig - add a new user/group - index "info" documentation - make multimedia plugins available In short, we want to get rid of most scriptlets. Now, whether there will be "transaction" or "one-shot" triggers, that's still to be discussed. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org