#!/bin/sh -e

if [ "$1" = "purge" ];
then
    if [ -e /boot/grub/grub.cfg ] && which update-grub >/dev/null 2>&1; then
      update-grub || true
    fi
fi

#DEBHELPER#
