#!/bin/sh -e version=6.12.33+deb13progress8-alpha-generic image_path=/boot/vmlinuz-$version if [ "$1" != remove ]; then exit 0 fi linux-check-removal $version linux-run-hooks image prerm $version $image_path -- "$@" exit 0