mirror_ubuntu-kernels/debian/templates/headers.postinst.in

16 lines
264 B
Bash
Executable File

#!/bin/sh
set -e
version=@abiname@@localversion@
if [ "$1" != configure ]; then
exit 0
fi
if [ -d /etc/kernel/header_postinst.d ]; then
DEB_MAINT_PARAMS="$*" run-parts --report --exit-on-error --arg=$version \
/etc/kernel/header_postinst.d
fi
exit 0