This file is indexed.

postinst is in gnome-accessibility-themes 3.28-1ubuntu1.

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
#!/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/11.1.6ubuntu1
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
	if which update-icon-caches >/dev/null 2>&1 ; then
		update-icon-caches /usr/share/icons/HighContrast
	fi
fi
# End automatically added section