#!/bin/sh -e

# Automatically added by dh_installdebconf
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
	. /usr/share/debconf/confmodule
	db_purge
fi
# End automatically added section
# Automatically added by dh_installmenu
if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi
# End automatically added section


for i in sid.bmp sarge.bmp debianlilo.bmp coffee.bmp; do
  	rm -f /boot/$i;
done

if [ "$1" = "purge" ]; then
    rm -f /etc/lilo.conf /boot/map /boot/boot.b /boot/boot.0[0-9][0-9][0-9]
   
    if [ -d /usr/share/lilo ]; then
    	rm -rf /usr/share/lilo
    fi	

    rm -f /usr/share/lilo/*.conf

fi
