Maybe I'm being a little dense here, but the original method would seem
to be much more generic.

John

Geoffrey Lee wrote:
> 
> can i use %update-menus for postun too?
> 
> >
> >
> > If you have a package who need a menu entry, please don't use in %post
> > the :
> >
> > %post
> > if [ -x /usr/bin/update-menus ];then
> >                 /usr/bin/update-menus
> > fi
> >
> > or others variants, simply do :
> >
> > %post
> > %{update_menus}
> >
> > --
> > MandrakeSoft Inc                http://www.mandrakesoft.com
> > San-Francisco, CA USA                             --Chmouel
> >

Reply via email to