postinst is in apparmor-easyprof-ubuntu 16.04.5.
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 16 | #!/bin/sh -e
set -e
if [ "$1" = "configure" ] && which aa-clickhook >/dev/null 2>&1; then
echo "(may take a while)"
aa-clickhook -f && {
. /lib/apparmor/functions
# Discard the return code and just make sure the md5sums are updated
# so on next boot the upstart/initscript will have updated md5sums and
# won't clear out the cache. This does not affect system-image updates
# since /etc/system-image/writable-paths is configured to prefer the
# files on the device (and the apparmor upstart job handles this).
compare_and_save_debsums apparmor-easyprof-ubuntu || true
}
fi
|