Files
desktop-base/debian/postrm
2016-11-06 23:16:53 +00:00

13 lines
239 B
Bash

#!/bin/sh -e
set -e
# Tag to allow some debhelper commands to inject relevant code
#DEBHELPER#
if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
if which update-grub2 > /dev/null ; then
update-grub2 || true
fi
fi