rawhide report: 20061109 changes

Toshio Kuratomi a.badger at gmail.com
Thu Nov 9 22:13:44 UTC 2006


On Thu, 2006-11-09 at 20:44 +0100, Tomasz Kłoczko wrote:
> Corrected %postun example:
> 
> %postun
> export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
> rm -f $GCONF_CONFIG_SOURCE/*
> gconftool-2 --makefile-install-rule /etc/gconf/schemas/*.schemas
> >& /dev/null
> 
%postun is the wrong scriptlet to run this in.  Once you get to %postun,
the original schema file is no longer present. (For an upgrade, this has
to be done in %pre (Because the upgrading package will overwrite the old
schema), for a removal in %preun (Because there won't be an install at
that point to trigger the %pre scriptlet))

-Toshio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20061109/9761ddec/attachment.sig>


More information about the fedora-devel-list mailing list