postinst is in screen 4.1.0~20120320gitdb59704-9.
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
set -e
. /usr/share/debconf/confmodule
if [ "$1" = configure ]; then
if ! test -d /var/run/screen; then
install -g utmp -m 0775 -d /var/run/screen
[ `stat -c%a /usr/bin/screen` -lt 4000 ] || chmod 0755 /var/run/screen
fi
add-shell /usr/bin/screen || true
fi
# Automatically added by dh_installinit
if [ -x "/etc/init.d/screen-cleanup" ]; then
if [ ! -e "/etc/init/screen-cleanup.conf" ]; then
update-rc.d screen-cleanup defaults >/dev/null
fi
fi
# End automatically added section
|