Debian Codegraph @

debian/postrm

raw
1 #!/bin/sh
2 set -e
3
4 # Tag to allow some debhelper commands to inject relevant code
5 #DEBHELPER#
6
7 if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
8 if which update-grub2 > /dev/null ; then
9 update-grub2 || true
10 fi
11 fi
12