Re: [Cooker] [ANNOUNCE] New macros in rpm

2000-07-03 Thread Chmouel Boudjnah
Guillaume Cottenceau <[EMAIL PROTECTED]> writes: > Chmouel Boudjnah <[EMAIL PROTECTED]> writes: > > > 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 > > > >

Re: [Cooker] [ANNOUNCE] New macros in rpm

2000-07-03 Thread Guillaume Cottenceau
Chmouel Boudjnah <[EMAIL PROTECTED]> writes: > 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} Does post

Re: [Cooker] [ANNOUNCE] New macros in rpm

2000-06-30 Thread Chmouel Boudjnah
Pablo Saratxaga <[EMAIL PROTECTED]> writes: > Kaixo! > > On Thu, Jun 29, 2000 at 08:19:27AM -0700, Chmouel Boudjnah wrote: > > > If you have a package who need a menu entry, please don't use in %post > > > or others variants, simply do : > > > > %post > > %{update_menus} > > And is there s

Re: [Cooker] [ANNOUNCE] New macros in rpm

2000-06-30 Thread Chmouel Boudjnah
"Geoffrey Lee" <[EMAIL PROTECTED]> writes: > can i use %update-menus for postun too? yep. -- MandrakeSoft Inchttp://www.mandrakesoft.com San-Francisco, CA USA --Chmouel

Re: [Cooker] [ANNOUNCE] New macros in rpm

2000-06-30 Thread john . cavan
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/bi

Re: [Cooker] [ANNOUNCE] New macros in rpm

2000-06-30 Thread Pablo Saratxaga
Kaixo! On Thu, Jun 29, 2000 at 08:19:27AM -0700, Chmouel Boudjnah wrote: > If you have a package who need a menu entry, please don't use in %post > or others variants, simply do : > > %post > %{update_menus} And is there some macro for the %postun to remove the menus ? -- Ki ça vos våye b

RE: [Cooker] [ANNOUNCE] New macros in rpm

2000-06-30 Thread Geoffrey Lee
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} >