This file is indexed.

postinst is in haserl 0.9.32-1.

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
23
24
25
#!/bin/sh

set -e
. /usr/share/debconf/confmodule
db_get haserl/setuid

haserl_path=/usr/bin/haserl
setuid_haserl ()
{
    dpkg-statoverride --force --update --add '#0' '#0' 2755 "$haserl_path"
}

unsetuid_haserl ()
{
    if dpkg-statoverride --quiet --list "$haserl_path"; then
        dpkg-statoverride --remove "$haserl_path"
        chmod 0755 "$haserl_path"
    fi
}

if [ "$RET" = true ]; then
    setuid_haserl
else
    unsetuid_haserl
fi