summaryrefslogtreecommitdiff
path: root/nonprism/gthumb/gthumb.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-04 01:57:36 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-04 01:57:36 -0300
commit0be822175bb3cef0534b9a0597e84ae1ee6374ec (patch)
treec9a4fb91c61309280fd8201c7cb52789ce02a7c6 /nonprism/gthumb/gthumb.install
parent468e115b1432c745ce9ccf06d2fcca6b3cfb7227 (diff)
remove nonprism suffix and add complex pkgrel on nonprism packages
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
+}