#!/bin/bash

set -e
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#

case "$1" in
	 remove|upgrade|deconfigure)
        if [ -x /usr/sbin/update-grub ] && [ -e /boot/grub/grub.cfg ]; then
            update-grub
        fi
	;;
esac

exit 0
