Debian Codegraph @

debian/xen-hypervisor-common.postinst

raw
1 #!/bin/bash
2
3 set -e
4
5 case "$1" in
6 configure)
7 if command -v update-grub > /dev/null && [ -d /boot/grub ]; then
8 update-grub || :
9 fi
10 ;;
11
12 abort-upgrade|abort-remove|abort-deconfigure)
13 ;;
14
15 *)
16 echo "postinst called with unknown argument \`$1'" >&2
17 exit 1
18 ;;
19 esac
20
21 #DEBHELPER#
22
23 exit 0