postinst is in gnome-colors-common 5.5.1-2ubuntu2.
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 [ "$1" = "configure" ]; then
SIZES=$(ls /usr/share/icons/gnome-colors-common/*/places | sed -rn 's,^.*/([0-9]+)x[0-9]+/.*$,\1,p')
command="update-alternatives --install /usr/share/icons/gnome/scalable/places/start-here.svg start-here.svg /usr/share/icons/gnome-colors-common/scalable/places/gnome-colors.svg 20"
for s in $SIZES; do
command="$command --slave /usr/share/icons/gnome/${s}x${s}/places/start-here.png start-here-${s}.png /usr/share/icons/gnome-colors-common/${s}x${s}/places/gnome-colors.png"
done
$command
fi
# Automatically added by dh_icons
if which update-icon-caches >/dev/null 2>&1 ; then
update-icon-caches /usr/share/icons/gnome-colors-common
fi
# End automatically added section
|