From c7cb603f86b4d4fb6567e3faa15b916a306f7004 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 3 Apr 2012 00:01:35 +0000 Subject: Tue Apr 3 00:01:35 UTC 2012 --- testing/gthumb/gthumb.install | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 testing/gthumb/gthumb.install (limited to 'testing/gthumb/gthumb.install') diff --git a/testing/gthumb/gthumb.install b/testing/gthumb/gthumb.install new file mode 100644 index 000000000..5d8005402 --- /dev/null +++ b/testing/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 +} -- cgit v1.2.3-54-g00ecf