Initial Commit
[celltowerinfo] / debian / celltowerinfo.postinst
1 #!/bin/sh
2
3 #if [ -x /usr/bin/update-mime-database ]; then
4 #  update-mime-database /usr/share/mime
5 #fi
6
7 if [ -x /usr/bin/update-desktop-database ]; then
8   update-desktop-database /usr/share/applications
9 fi
10
11 #if [ -x /usr/bin/hildon-update-category-database ]; then
12 #  hildon-update-category-database /usr/share/mime
13 #fi
14
15 if [ -r /etc/osso-af-init/af-defines.sh -a -x /usr/bin/dbus-send -a -x /usr/bin/gtk-update-icon-cache ]; then
16     source /etc/osso-af-init/af-defines.sh
17     dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteInfoprint string:"Updating icon cache" || true
18 fi
19
20 if [ -x /usr/bin/gtk-update-icon-cache ]; then
21   gtk-update-icon-cache -f /usr/share/icons/hicolor
22 fi
23
24 #DEBHELPER#
25
26 exit 0