From e2fb609d3af7a203357fd6ca983fef5f4dfba7eb Mon Sep 17 00:00:00 2001 From: root Date: Tue, 6 Sep 2011 23:14:33 +0000 Subject: Tue Sep 6 23:14:33 UTC 2011 --- gnome-unstable/vinagre/vinagre.install | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 gnome-unstable/vinagre/vinagre.install (limited to 'gnome-unstable/vinagre/vinagre.install') diff --git a/gnome-unstable/vinagre/vinagre.install b/gnome-unstable/vinagre/vinagre.install new file mode 100644 index 000000000..68158ac80 --- /dev/null +++ b/gnome-unstable/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