3 # Abort if any command returns an error value
7 purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear
)
8 # remove kernel symlinks
9 rm -f /boot
/pve
/vmlinuz || true
10 rm -f /boot
/pve
/initrd.img || true
11 rmdir --ignore-fail-on-non-empty /boot
/pve
/ || true
15 echo "postrm called with unknown argument \`$1'" >&2