#!/bin/sh case "$DPKG_MAINTSCRIPT_PACKAGE" in linux-image-*) # lilo will be updated later by the kernel postinst hook; no # need to update it now. exit 0 ;; *) if [ -e /etc/lilo.conf ]; then lilo &2 else echo >&2 "Warning: Not updating LILO; /etc/lilo.conf not found" fi ;; esac