summarylogtreecommitdiffstats
path: root/desktime.install
diff options
context:
space:
mode:
Diffstat (limited to 'desktime.install')
-rw-r--r--desktime.install19
1 files changed, 19 insertions, 0 deletions
diff --git a/desktime.install b/desktime.install
new file mode 100644
index 000000000000..3eaf04c1d548
--- /dev/null
+++ b/desktime.install
@@ -0,0 +1,19 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ if which update-icon-caches >/dev/null 2>&1 ; then
+ update-icon-caches /usr/share/icons/desktime.png
+ fi
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ if which update-icon-caches >/dev/null 2>&1 ; then
+ update-icon-caches /usr/share/icons/desktime.png
+ fi
+ update-desktop-database -q
+}