Pixel a �crit :
> ben c'est ce qu'est fait!
^^^^^^^^^^^^^^^^^^^^^^^^^^^
french speaking forbidden here ! Pan sur le bec ! :-)
> %post
> if [ -f /etc/lilo.conf ]; then
> if [ -x /usr/sbin/detectloader ]; then
> LOADER=$(/usr/sbin/detectloader)
> if [ "$LOADER" = "LILO" ]; then
> /sbin/lilo > /dev/null
> fi
> fi
> fi
I would prefer postinstall script limitis itself to warn user he has to
run lilo, not running it itself. If lilo.conf is not in a valid state,
result could be rather dangereous.
--
Guillaume Rousse
Murphy's law : If anything can go wrong, it will.
O'Tool's commentary : Murphy was an optimist.