postinst is in ubuntu-core-config 0.6.40.
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 | #!/bin/sh -e
pam-auth-update --package snappy-extrausers
mkdir -p /var/lib/machines/
chmod 700 /var/lib/machines/
# Make sure /var/lib/waagent is available for Azure
# https://bugs.launchpad.net/snappy/+bug/1472422
mkdir -p /var/lib/waagent/
chmod 700 /var/lib/waagent/
|