postinst is in mythbuntu-bare-client 2.7.2.
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 17 | #!/bin/sh
set -e
case "$1" in
configure)
touch /var/log/mythbuntu-bare-client.log
chmod 666 /var/log/mythbuntu-bare-client.log
# Create directory for storing bare client files
dir=/var/lib/mythtv/bare-client
mkdir -p "$dir" || true
chown -R mythtv:mythtv "$dir" || true
chmod -R 2775 "$dir" || true
;;
esac
|