postinst is in gnome-icon-theme 3.12.0-1ubuntu3.
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
write_cache()
{
if [ -x /usr/bin/gtk-update-icon-cache-3.0 ]; then
if ! gtk-update-icon-cache-3.0 --force --quiet /usr/share/icons/gnome; then
echo "WARNING: icon cache generation failed"
fi
fi
}
if [ "$1" = "triggered" ]; then
write_cache
exit 0
fi
write_cache
|