Re: [Guidelines Change] Changes to the Packaging Guidelines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-- 
Nils Philippsen      "Those who would give up Essential Liberty to purchase 
Red Hat               a little Temporary Safety, deserve neither Liberty
nils@xxxxxxxxxx       nor Safety."  --  Benjamin Franklin, 1759
PGP fingerprint:      C4A8 9474 5C4C ADE3 2B8F  656D 47D8 9B65 6951 3011

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux