This file is indexed.

postinst is in libphonon-dev 4:4.10.0-2.

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

set -e

if [ "$1" = "configure" ]; then
    # Manually create /usr/include/qt4/phonon symlink on upgrades.
    # See #404850 why dpkg does not create it by itself.
    qtphonon="/usr/include/qt4/phonon"
    if [ -d $qtphonon ] && [ ! -L $qtphonon ]; then
        if rmdir $qtphonon 2>/dev/null; then
            ln -s ../phonon $qtphonon
        else
            echo "Unable to create $qtphonon symlink due to error above" >&2
            exit 1
        fi
    fi
fi



exit 0