#!/bin/sh set -e # Pass maintainer script parameters to hook scripts export DEB_MAINT_PARAMS="$*" # Tell initramfs builder whether it's wanted export INITRD=Yes if [ "preinst" = "preinst" -a "Yes" = "Yes" ]; then chmod -f 700 /boot 2> /dev/null || true chmod -f 700 /lib/modules 2> /dev/null || true chmod -f 700 /lib32/modules 2> /dev/null || true chmod -f 700 /lib64/modules 2> /dev/null || true fi test -d /etc/kernel/preinst.d && run-parts --arg="6.6.116-grsec-jammy-dirty" --arg="/boot/vmlinuz-6.6.116-grsec-jammy-dirty" /etc/kernel/preinst.d exit 0