summaryrefslogtreecommitdiff
path: root/community/sxiv/sxiv.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/sxiv/sxiv.install')
-rw-r--r--community/sxiv/sxiv.install11
1 files changed, 8 insertions, 3 deletions
diff --git a/community/sxiv/sxiv.install b/community/sxiv/sxiv.install
index 916de2271..5c501dc49 100644
--- a/community/sxiv/sxiv.install
+++ b/community/sxiv/sxiv.install
@@ -1,7 +1,12 @@
-post_install () {
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
update-desktop-database -q
}
-post_upgrade () {
- update-desktop-database -q
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
}