Chmouel Boudjnah <[EMAIL PROTECTED]> writes:

> Guillaume Rousse <[EMAIL PROTECTED]> writes:
> 
> > -why automatically run lilo once installed ? Other softs are not
> > automatically launched after installation.
> 
> yup pixel why not putting a :
> 
> detectloader = LILO ? /sbin/lilo : true ?

ben c'est ce qu'est fait!

%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

Reply via email to