This file is indexed.

postinst is in system-image-common 2.2-0ubuntu1.

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
26
27
28
29
30
#!/bin/sh

# Tweak directory and file permissions.

case "$1" in
    configure)
        if [ -d /var/log/system-image ]; then
            chmod 02770 /var/log/system-image
        fi
        if [ -e /var/log/system-image/client.log ]; then
            chmod 600 /var/log/system-image/client.log
        fi
        if [ -d /var/lib/system-image ]; then
            chmod 02770 /var/lib/system-image
        fi
        ;;
    *)
        ;;
esac


# Automatically added by dhpython:
if which py3compile >/dev/null 2>&1; then
	py3compile -p system-image-common -V 3.3-
fi

# End automatically added section


exit 0