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

Reply via email to