summaryrefslogtreecommitdiff
path: root/testing/gnome-search-tool/gnome-search-tool.install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/gnome-search-tool/gnome-search-tool.install')
-rw-r--r--testing/gnome-search-tool/gnome-search-tool.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/gnome-search-tool/gnome-search-tool.install b/testing/gnome-search-tool/gnome-search-tool.install
new file mode 100644
index 000000000..b631b6a89
--- /dev/null
+++ b/testing/gnome-search-tool/gnome-search-tool.install
@@ -0,0 +1,16 @@
+post_install() {
+ glib-compile-schemas usr/share/glib-2.0/schemas
+}
+
+pre_upgrade() {
+ (( $(vercmp $2 3.6.0) < 0 )) && gconfpkg --uninstall gnome-search-tool
+ return 0
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}