SPECS: gtk+2.spec - fix typo in postun; rel 3
Jakub Bogusz
qboosh at pld-linux.org
Mon Oct 22 21:11:03 CEST 2007
On Mon, Oct 22, 2007 at 09:55:54PM +0300, Elan Ruusamäe wrote:
> On Monday 22 October 2007 20:39, Jakub Bogusz wrote:
> > On Mon, Oct 22, 2007 at 02:18:16PM +0200, glen wrote:
> > > Author: glen Date: Mon Oct 22 12:18:16 2007 GMT
> > > Module: SPECS Tag: HEAD
> > > ---- Log message:
> > > - fix typo in postun; rel 3
> > >
> > > %postun
> > > /sbin/ldconfig
> > > -if [ "$1" != "0" ]; then
> > > +if [ "$1" = "0" ]; then
> > > umask 022
> > > - %{_bindir}/gdk-pixbuf-query-loaders
> > > >%{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
> > > - %{_bindir}/gtk-query-immodules-2.0
> > > >%{_sysconfdir}/gtk-2.0/gtk.immodules
> > > + %{_bindir}/gdk-pixbuf-query-loaders >
> > > %{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
> > > + %{_bindir}/gtk-query-immodules-2.0 >
> > > %{_sysconfdir}/gtk-2.0/gtk.immodules fi
> > > exit 0
> >
> > Are you sure?
> > These binaries won't exist when "$1" = "0" (i.e. when finishing rpm -e).
>
> well, then only %post should remain there?
I'm not sure if the assumption that no module will disappear on upgrade
is correct.
--
Jakub Bogusz http://qboosh.pl/
More information about the pld-devel-en
mailing list