#!/bin/bash

if [ "$1" == "remove" ]; then  # only do the cleanup if we're going to be removed or purged, not on package update

   # unregister our named icons
   for i in 24 32 36 40 42 48 64 72 96 128 192 256 384 512; do
      sudo xdg-icon-resource uninstall --novendor --mode system --size $i aCSTV
      sudo xdg-icon-resource uninstall --novendor --mode system --size $i aCSTV2
   done

   # remove our symbolic links
   #TEXTDOMAINDIR=/usr/share/locale
   #TEXTDOMAIN=aCSTV.sh
   #find "$TEXTDOMAINDIR" -type l -iname "$TEXTDOMAIN.mo" -delete

fi
