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