postinst is in linux-headers-4.18.0-1007-azure 4.18.0-1007.7~18.04.1.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #!/bin/sh
set -e
version=4.18.0-1007-azure
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
|