damaris-backends/debian/damaris-modules.postrm.debhelper

23 lines
774 B
Plaintext
Raw Normal View History

# Automatically added by dh_installmodules
if [ -e /boot/System.map-4.8.0-0.bpo.2-amd64 ]; then
depmod -a -F /boot/System.map-4.8.0-0.bpo.2-amd64 4.8.0-0.bpo.2-amd64 || true
fi
# End automatically added section
# Automatically added by dh_installinit
if [ "$1" = "purge" ] ; then
update-rc.d damaris-modules 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
# Automatically added by dh_installmodules
if [ -e /boot/System.map-4.8.0-0.bpo.2-amd64 ]; then
depmod -a -F /boot/System.map-4.8.0-0.bpo.2-amd64 4.8.0-0.bpo.2-amd64 || true
fi
# End automatically added section