#!/bin/sh -e version=7.0.12+deb14.1-sh7751r 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