This file is indexed.

postinst is in libapache2-webauth 4.7.0-3build1.

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

# On upgrade from versions prior to 4.6.0-2, ensure the keyring is owned by
# www-data if it was owned by root.  Earlier versions of WebAuth updated the
# keyring during Apache configuration and therefore created it owned by root,
# but keyring handling is now done in the child processes, so those keyrings
# would no longer be readable.
if [ "$1" = 'configure' ] && [ -f '/var/lib/webauth/keyring' ] ; then
    if [ -n "$2" ] && dpkg --compare-versions "$2" lt 4.6.0-2~ ; then
        if [ "$(stat -c '%U' /var/lib/webauth/keyring)" = 'root' ] ; then
            chown www-data:www-data /var/lib/webauth/keyring
        fi
    fi
fi



exit 0