]>
Commit | Line | Data |
---|---|---|
43a34d06 FG |
1 | #! /bin/sh |
2 | ||
3 | # Abort if any command returns an error value | |
4 | set -e | |
5 | ||
6 | case "$1" in | |
7 | purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) | |
8 | # remove kernel symlinks | |
9 | rm -f /boot/pve/vmlinuz-@KERNEL_ABI@ | |
10 | rm -f /boot/pve/initrd.img-@KERNEL_ABI@ | |
11 | ;; | |
12 | ||
13 | *) | |
14 | echo "postrm called with unknown argument \`$1'" >&2 | |
15 | exit 1 | |
16 | ;; | |
17 | esac | |
18 |