#!/bin/sh -e #DEBHELPER# if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then if which update-grub2 > /dev/null ; then update-grub2 fi fi