summaryrefslogtreecommitdiff
path: root/community/zathura/zathura.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/zathura/zathura.install')
-rw-r--r--community/zathura/zathura.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/community/zathura/zathura.install b/community/zathura/zathura.install
new file mode 100644
index 000000000..1ff3c64cd
--- /dev/null
+++ b/community/zathura/zathura.install
@@ -0,0 +1,14 @@
+post_install() {
+ which gtk-update-icon-cache >/dev/null && \
+ [ -d usr/share/icons/hicolor ] && \
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}