summaryrefslogtreecommitdiff
path: root/libre/gloobus-preview/gloobus-preview.install
diff options
context:
space:
mode:
Diffstat (limited to 'libre/gloobus-preview/gloobus-preview.install')
-rw-r--r--libre/gloobus-preview/gloobus-preview.install5
1 files changed, 4 insertions, 1 deletions
diff --git a/libre/gloobus-preview/gloobus-preview.install b/libre/gloobus-preview/gloobus-preview.install
index 16ad7278f..2d22800d7 100644
--- a/libre/gloobus-preview/gloobus-preview.install
+++ b/libre/gloobus-preview/gloobus-preview.install
@@ -1,10 +1,13 @@
post_install() {
xdg-icon-resource forceupdate
- gdk-pixbuf-query-loaders --update-cache
}
post_upgrade() {
post_install $1
+
+ if [ "$(vercmp 0.4.5.333-1 "$2")" -eq 1 ]; then
+ gdk-pixbuf-query-loaders --update-cache
+ fi
}
post_remove() {