postinst is in festival 1:2.5.0-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 | #!/bin/sh
set -e
# Remove shutdown and reboot links; this init script does not need them.
if dpkg --compare-versions "$2" lt "1.4.3-18"; then
rm -f /etc/rc0.d/K20festival /etc/rc6.d/K20festival
fi
# Create festival user if it doesn't already exist.
if ! getent passwd festival >/dev/null; then
adduser festival --quiet --system --ingroup audio --no-create-home --home /nonexistent
fi
|