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 postun still needs:
%postun
if [ "$1" = 0 ]; then
%{update_menus}
fi
--
Guillaume Cottenceau
- RE: [Cooker] [ANNOUNCE] New macros in rpm Geoffrey Lee
- Re: [Cooker] [ANNOUNCE] New macros in rpm john . cavan
- Re: [Cooker] [ANNOUNCE] New macros in rpm Chmouel Boudjnah
- Re: [Cooker] [ANNOUNCE] New macros in rpm Pablo Saratxaga
- Re: [Cooker] [ANNOUNCE] New macros in rpm Chmouel Boudjnah
- Re: [Cooker] [ANNOUNCE] New macros in rpm Guillaume Cottenceau
- Re: [Cooker] [ANNOUNCE] New macros in rpm Chmouel Boudjnah
