On Wed, 2010-11-17 at 14:50 -0500, Tom "spot" Callaway wrote:
rpm %post and %postun scripts have been added for the following important pieces of GNOME3 technology: GSettings, gdk-pixbuf loaders, GTK3 modules, and GIO modules:
https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#GSettings_Schema https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#gdk- pixbuf_loaders https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#GTK.2B_modules
This scriptlet snippet seems to have suffered from a copy-paste mistake:
--- 8< --- %postun gtk-query-immodules-3.0-%{__isa_bits} --update-cache &> /dev/null || :
%post if [ $1 -eq 1 ] ; then # For upgrades, the cache will be regenerated by the new package's %postun gio-query-immodules-3.0-%{__isa_bits} --update-cache &> /dev/null || : fi --- >8 ---
I guess that the %post part should use "gtk-query-immodules-..." instead of "gio-...".
Nils