postrm is in edubuntu-artwork 15.12.1.
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 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | #!/bin/sh
set -e
case "$1" in
remove)
# Restore Breathe icons diversions (we need a better way to do this)
dpkg-divert --quiet --rename --package edubuntu-artwork --remove /usr/share/icons/Breathe/16x16/places/start-here.png
dpkg-divert --quiet --rename --package edubuntu-artwork --remove /usr/share/icons/Breathe/22x22/places/start-here.png
dpkg-divert --quiet --rename --package edubuntu-artwork --remove /usr/share/icons/Breathe/24x24/places/start-here.png
dpkg-divert --quiet --rename --package edubuntu-artwork --remove /usr/share/icons/Breathe/32x32/places/start-here.png
dpkg-divert --quiet --rename --package edubuntu-artwork --remove /usr/share/icons/Breathe/48x48/places/start-here.png
dpkg-divert --quiet --rename --package edubuntu-artwork --remove /usr/share/icons/Breathe/scalable/places/start-here.svg
# Restore GartoonRedux icons diversions (we need a better way to do this)
dpkg-divert --quiet --rename --package edubuntu-artwork --remove /usr/share/icons/GartoonRedux/16x16/places/distributor-logo.png
dpkg-divert --quiet --rename --package edubuntu-artwork --remove /usr/share/icons/GartoonRedux/22x22/places/distributor-logo.png
dpkg-divert --quiet --rename --package edubuntu-artwork --remove /usr/share/icons/GartoonRedux/24x24/places/distributor-logo.png
dpkg-divert --quiet --rename --package edubuntu-artwork --remove /usr/share/icons/GartoonRedux/32x32/places/distributor-logo.png
dpkg-divert --quiet --rename --package edubuntu-artwork --remove /usr/share/icons/GartoonRedux/48x48/places/distributor-logo.png
# Restore unity distributor logo
dpkg-divert --quiet --rename --package edubuntu-artwork --remove /usr/share/unity/icons/launcher_bfb.png
# Update icon cache
gtk-update-icon-cache
# Force update the compiled glib schemas
glib-compile-schemas /usr/share/glib-2.0/schemas || true
# And same for gconf (still needed as ubuntu-artwork ships one...)
update-gconf-defaults
;;
esac
# Automatically added by dh_icons
if which update-icon-caches >/dev/null 2>&1 ; then
update-icon-caches /usr/share/icons/Breathe /usr/share/icons/ElementaryEdubuntu /usr/share/icons/GartoonRedux
fi
# End automatically added section
|