24 lines
576 B
Bash
Executable File
24 lines
576 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
case "$1" in
|
|
remove)
|
|
# Update grub
|
|
if [ -e /boot/grub/grub.cfg ] && [ -x "$(which update-grub)" ]; then
|
|
update-grub
|
|
fi
|
|
;;
|
|
esac
|
|
|
|
# Automatically added by dh_installdeb/13.3.1ubuntu1
|
|
dpkg-maintscript-helper rm_conffile /etc/init/friendly-recovery.conf 0.2.36\~ -- "$@"
|
|
# End automatically added section
|
|
# Automatically added by dh_installsystemd/13.3.1ubuntu1
|
|
if [ -d /run/systemd/system ] && [ "$1" = remove ]; then
|
|
systemctl --system daemon-reload >/dev/null || true
|
|
fi
|
|
# End automatically added section
|
|
|
|
|
|
exit 0
|