From 0abb1942e8be584d56a1b35b2d1911cbe9f5bbd1 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 29 Sep 2011 23:14:32 +0000 Subject: Thu Sep 29 23:14:32 UTC 2011 --- testing/vinagre/vinagre.install | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 testing/vinagre/vinagre.install (limited to 'testing/vinagre/vinagre.install') diff --git a/testing/vinagre/vinagre.install b/testing/vinagre/vinagre.install new file mode 100644 index 000000000..68158ac80 --- /dev/null +++ b/testing/vinagre/vinagre.install @@ -0,0 +1,20 @@ +post_install() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-mime-database usr/share/mime > /dev/null +} + +pre_upgrade() { + if (( $(vercmp $2 2.91.91-2) < 0 )); then + usr/sbin/gconfpkg --uninstall vinagre + fi +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} -- cgit v1.2.3-54-g00ecf