#!/bin/sh -e version=@abiname@@localversion@ image_path=/boot/@image-stem@-$version if [ "$1" != remove ]; then exit 0 fi linux-check-removal $version linux-run-hooks image prerm $version $image_path -- "$@" exit 0