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