On Wed, Sep 10, 2008 at 02:14:52PM -0400, Colin Walters wrote: > On Tue, Sep 9, 2008 at 5:33 PM, Seth Vidal <skvidal@xxxxxxxxxxxxxxxxx> wrote: > > > > Here's a proof of concept plugin: > > > > http://skvidal.fedorapeople.org/misc/post-transaction-actions/ > > Ok cool - with one small fix to the plugin, this simple action: > > # Update the GTK+ icon cache when an icon is installed. > # See: http://www.gtk.org/api/2.6/gtk/gtk-update-icon-cache.html > /usr/share/icons/hicolor/*:any:gtk-update-icon-cache --quiet --force > /usr/share/icons/hicolor > > seems to work. Now we can apply hundreds (thousand?) of patches of > the following form, and probably in many cases entirely eliminate the > single %post and %postun we've been copying and pasting around. It > will be awesome. +1; ...triggers make much more sense than hard coded (and duplicate) scripts. Karel -- Karel Zak <kzak@xxxxxxxxxx> -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list