summaryrefslogtreecommitdiff
path: root/nonprism/gthumb/gthumb.install
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-09-04 02:25:14 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-09-04 02:25:14 -0300
commitfc353061e3e6b3e8542d2000b89ca2ecfc604b1b (patch)
tree615f9efcdc5cf45213866013e12c2293f69e2a69 /nonprism/gthumb/gthumb.install
parent0873eff3fe57c9e108ef0cf5f5b700bbb449629a (diff)
parent448c73d26577be3e04afda7364e3a7b3782b64cc (diff)
Merge branch 'master' of ssh://lukeshu.com:1863/srv/git/mirror/parabola/abslibre
Diffstat (limited to 'nonprism/gthumb/gthumb.install')
-rw-r--r--nonprism/gthumb/gthumb.install19
1 files changed, 19 insertions, 0 deletions
diff --git a/nonprism/gthumb/gthumb.install b/nonprism/gthumb/gthumb.install
new file mode 100644
index 000000000..9d4e7822f
--- /dev/null
+++ b/nonprism/gthumb/gthumb.install
@@ -0,0 +1,19 @@
+post_install() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+ if (( $(vercmp $2 2.90.1) < 0 )); then
+ gconfpkg --uninstall gthumb
+ fi
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}