#!/bin/bash set -e case "$1" in remove) command -v update-grub > /dev/null && update-grub || : ;; esac #DEBHELPER# exit 0