This file is indexed.

postinst is in systemd-coredump 229-4ubuntu4.

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

if [ "$1" = configure ]; then
    adduser --quiet --system --group --no-create-home --home /run/systemd \
        --gecos "systemd core dump processing" systemd-coredump

    # enable systemd-coredump right after package installation
    if [ -d /run/systemd/system ]; then
        systemctl start systemd-coredump.socket || true
    fi
    /lib/systemd/systemd-sysctl /usr/lib/sysctl.d/50-coredump.conf || true
fi