summaryrefslogtreecommitdiffstats
path: root/templates/image.xen.postrm.in
blob: 9ce193b266579dd3c0844bdcb3817c1dbd46306f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

set -e

case "$1" in
    remove)
        command -v update-grub > /dev/null && update-grub
    ;;

    purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
    ;;

    *)
        echo "postrm called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

#DEBHELPER#

exit 0