This file is indexed.

postinst is in libgtk-3-0 3.4.1-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
set -e

if [ "$1" = triggered ]; then
    for trigger in $2; do
        if ! [ -d $trigger ]; then
            continue
        fi
        case $trigger in
          /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules)
            # This is triggered everytime an application installs a
            # GTK immodule loader
            /usr/lib/x86_64-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0 /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/*.so > /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules.cache || true
            ;;
        esac
    done
    exit 0
fi

# Automatically added by dh_makeshlibs
if [ "$1" = "configure" ]; then
	ldconfig
fi
# End automatically added section


# Also handle the initial installation
if [ -d /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules ]; then
     /usr/lib/x86_64-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0 /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/*.so > /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules.cache || true
fi