postinst is in gnokii-cli 0.6.31+dfsg-2ubuntu3.
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 18 | #!/bin/sh -e
set -e
test $DEBIAN_SCRIPT_DEBUG && set -v -x
case "$1" in
configure|upgrade)
getent group gnokii > /dev/null || addgroup --system gnokii
if ! dpkg-statoverride --list /usr/sbin/mgnokiidev > /dev/null; then
dpkg-statoverride --update --add root gnokii 4754 /usr/sbin/mgnokiidev
fi
;;
esac
exit 0;
|