This file is indexed.

postinst is in gnome-accessibility-themes 3.18.0-2ubuntu1.

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

# The LowContrast and HighContrastInverse themes were dropped in 3.6.
# Cleanup the directories on upgrades.
if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt "3.8.1-1" ; then
    for theme in LowContrast HighContrastInverse ; do
        dir=/usr/share/icons/$theme
        if [ -d $dir ] ; then
            rm -f $dir/icon-theme.cache
            rmdir --ignore-fail-on-non-empty $dir
        fi
    done
fi

# Automatically added by dh_icons
if which update-icon-caches >/dev/null 2>&1 ; then
	update-icon-caches /usr/share/icons/HighContrast
fi
# End automatically added section