postinst is in openct 0.6.20-1.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 18 19 20 | #!/bin/sh -e
if [ "$1" = 'configure' ]; then
if ! getent group scard >/dev/null; then
echo Adding system group: scard.
addgroup --system scard
fi
fi
# Automatically added by dh_installinit
if [ -x "/etc/init.d/openct" ]; then
update-rc.d openct defaults >/dev/null
invoke-rc.d openct start || exit $?
fi
# End automatically added section
# Automatically added by dh_makeshlibs
if [ "$1" = "configure" ]; then
ldconfig
fi
# End automatically added section
|