SPECS: gtk+2.spec - fix typo in postun; rel 3

Elan Ruusamäe glen at delfi.ee
Mon Oct 22 20:55:54 CEST 2007


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?

-- 
glen


More information about the pld-devel-en mailing list