postinst is in hicolor-icon-theme 0.12-1ubuntu2.
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 | #! /bin/sh
set -e
if [ -x /usr/bin/gtk-update-icon-cache ]; then
if ! gtk-update-icon-cache --force --quiet /usr/share/icons/hicolor; then
echo "WARNING: icon cache generation failed"
fi
fi
if [ -x /usr/bin/gtk-update-icon-cache-3.0 ]; then
if ! gtk-update-icon-cache-3.0 --force --quiet /usr/share/icons/hicolor; then
echo "WARNING: icon cache generation failed"
fi
fi
if [ "$1" = "triggered" ]; then
exit 0
fi
|