#!/bin/sh set -e case "$1" in remove|purge|abort-install|disappear) # script if [ -f "/etc/default/grub.real" ] ; then rm -f /etc/default/grub dpkg-divert --package lliurex-plymouth-patch --rename --remove /etc/default/grub rm /etc/default/grub.fix fi if [ -f "/etc/grub.d/00_header.real" ] ; then rm -f /etc/grub.d/00_header dpkg-divert --package lliurex-plymouth-patch --rename --remove /etc/grub.d/00_header rm /etc/grub.d/00_header.fix fi grub-mkconfig -o /boot/grub/grub.cfg update-grub ;; esac #DEBHELPER# exit 0