summaryrefslogtreecommitdiff
path: root/community/sxiv/sxiv.install
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-07-27 03:32:42 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-07-27 03:32:42 +0000
commitd1a97d539057dec2529d3651d6cd1c830d5339f0 (patch)
tree43ed9a8c00b7ea833874fe624975b3422bc186ad /community/sxiv/sxiv.install
parent3f8fdc60f0dbd72d350af3927657f9ff97eb249f (diff)
Sun Jul 27 03:31:36 UTC 2014
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
}