Re: rawhide report: 20061109 changes

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

 



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

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[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