D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
lib
/
dpkg
/
info
/
Filename :
friendly-recovery.postrm
back
Copy
#!/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_systemd_start if [ -d /run/systemd/system ]; then systemctl --system daemon-reload >/dev/null || true fi # End automatically added section # Automatically added by dh_installinit if [ "$1" = "purge" ] ; then update-rc.d friendly-recovery remove >/dev/null fi # In case this system is running systemd, we make systemd reload the unit files # to pick up changes. if [ -d /run/systemd/system ] ; then systemctl --system daemon-reload >/dev/null || true fi # End automatically added section exit 0