]>
Commit | Line | Data |
---|---|---|
ed79bb03 AW |
1 | #!/bin/sh |
2 | set -e | |
3 | ||
4 | case "$0::$1" in | |
ca3091ae | 5 | *.postinst::configure|*.postrm::remove) |
ed79bb03 AW |
6 | depmod -a -F /boot/System.map-=V =V || true |
7 | for dir in "/etc/kernel/postinst.d" "/etc/kernel/postinst.d/=V" | |
8 | do | |
9 | if [ -d "$dir" ]; then | |
10 | run-parts --verbose --exit-on-error --arg="=V" --arg="/boot/=K-=V" "$dir" | |
11 | fi | |
12 | done | |
13 | ;; | |
14 | esac |