rpms/regexxer/devel regexxer.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Thorsten Leemhuis fedora at leemhuis.info
Wed Oct 5 21:59:16 UTC 2005


Am Mittwoch, den 05.10.2005, 23:34 +0200 schrieb Michael Schwendt:
> On Tue, 27 Sep 2005 20:18:37 -0400, Christoph Wickert wrote:
> 
> > Author: cwickert
> > 
> > Update of /cvs/extras/rpms/regexxer/devel
> 
> > %pre
> > if [ "$1" -gt 1 ]; then
> >     export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
> >     gconftool-2 --makefile-uninstall-rule \
> >       %{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null || :
> >     killall -HUP gconfd-2 || :
> > fi
> > 
> > 
> > %post
> > export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
> > gconftool-2 --makefile-install-rule \
> >   %{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null || :
> > killall -HUP gconfd-2 || :
> > 
> > 
> > %preun
> > if [ "$1" -eq 0 ]; then
> >     export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
> >     gconftool-2 --makefile-uninstall-rule \
> >       %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
> >     killall -HUP gconfd-2 || :
> > fi
> 
> Ugh! The package ought not killall any process.
> That looks like something really ugly.

Well, for me it looks like something taken directly from
http://www.fedoraproject.org/wiki/ScriptletSnippets#head-ff64cd482595764f672082d5a3b83e1fc22962e8

I find it rather ugly, too. I mentioned that before long ago (you might
find it in the archives of this list). But nobody could find any real
issues with this approach iirc and it seems it even found its way into
the wiki. 
-- 
Thorsten Leemhuis <fedora at leemhuis.info>




More information about the fedora-extras-list mailing list