summaryrefslogtreecommitdiff
path: root/testing/vinagre/vinagre.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-15 23:14:47 +0000
committerroot <root@rshg054.dnsready.net>2011-11-15 23:14:47 +0000
commit91ef4ffb2e0ba850501329a8bbc0b326788bd58c (patch)
tree3731bbc0887d98ae3a45395f9826cc51ae3473c3 /testing/vinagre/vinagre.install
parent28b13b7e8e6e1e4fa1593f0dfb1c37569f2f90a8 (diff)
Tue Nov 15 23:14:47 UTC 2011
Diffstat (limited to 'testing/vinagre/vinagre.install')
-rw-r--r--testing/vinagre/vinagre.install20
1 files changed, 20 insertions, 0 deletions
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
+}