This file is indexed.

postinst is in hicolor-icon-theme 0.17-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
#! /bin/sh
set -e

UPDATE_CACHE=
if which gtk-update-icon-cache-3.0 >/dev/null 2>&1 ; then
    UPDATE_CACHE=gtk-update-icon-cache-3.0
elif which gtk-update-icon-cache >/dev/null 2>&1 ; then
    UPDATE_CACHE=gtk-update-icon-cache
fi

if [ -n "$UPDATE_CACHE" ]; then
    if ! "$UPDATE_CACHE" --force --quiet /usr/share/icons/hicolor; then
        echo "WARNING: icon cache generation failed"
    fi
fi

if [ "$1" = "triggered" ]; then
    exit 0
fi