postinst is in ltsp-cluster-accountmanager 2.0.4-0ubuntu1.
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 21 22 | #!/bin/sh
set -e
if [ ! `getent group autologin` ]; then
addgroup --system autologin
fi
if [ "$1" = "configure" ];
then
mkdir -p /var/lib/ltsp-cluster-accountmanager/
fi
# Automatically added by dh_installinit
if [ -x "/etc/init.d/ltsp-cluster-accountmanager" ]; then
if [ ! -e "/etc/init/ltsp-cluster-accountmanager.conf" ]; then
update-rc.d ltsp-cluster-accountmanager defaults >/dev/null
fi
invoke-rc.d ltsp-cluster-accountmanager start || exit $?
fi
# End automatically added section
# Automatically added by dh_installinit
update-rc.d -f ltsp-cluster-accountmanager remove >/dev/null || exit $?
# End automatically added section
|