aboutsummaryrefslogtreecommitdiff
path: root/debian/control-scripts/postrm.extra
blob: 0adcc6283620bf9a43bbf4a3e57892a90371d313 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

case "$1" in
  remove|purge)
    depmod -a -F /boot/System.map-@@KVER@@ @@KVER@@
    update-initramfs -u -k @@KVER@@
    ;;
esac