Depending on Skype and enhanced install scripts
[skype-autolauncher:skype-autolauncher.git] / debian / postrm
1 #!/bin/sh -e
2 set -e
3
4 #DEBHELPER#
5
6 ICONPATH="/usr/share/icons/hicolor"
7
8 # Get OSSO environment variables (launchers, dbus bus, etc)
9 if [ -f /etc/osso-af-init/af-defines.sh ]; then
10   source /etc/osso-af-init/af-defines.sh
11 fi
12
13 dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteInfoprint string:"Updating icons ..."
14
15 gtk-update-icon-cache -f ${ICONPATH}
16
17 exit 0