This file is indexed.

postinst is in screen 4.0.3-14ubuntu8.

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
#!/bin/sh
set -e

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
update-rc.d -f screen-cleanup remove >/dev/null || exit $?
# End automatically added section