This file is indexed.

postinst is in libzeroc-ice3.7 3.7.0-5.

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
# postinst script for libzeroc-ice3.6
set -e

if [ "$1" = "configure" ]; then
    if ! getent passwd ice > /dev/null; then
	adduser --quiet --system --group --no-create-home --home /var/lib/ice --gecos "Ice Service account" ice
    fi

    # Make /var/lib/ice writeable by ice:adm user
    if ! dpkg-statoverride --list /var/lib/ice >/dev/null; then
	dpkg-statoverride --update --add ice adm 0770 /var/lib/ice >/dev/null 2>/dev/null || true
    fi
fi



exit 0