summaryrefslogtreecommitdiff
path: root/testing/gedit/gedit.install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/gedit/gedit.install')
-rw-r--r--testing/gedit/gedit.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/gedit/gedit.install b/testing/gedit/gedit.install
new file mode 100644
index 000000000..9d88a1341
--- /dev/null
+++ b/testing/gedit/gedit.install
@@ -0,0 +1,18 @@
+post_install() {
+ glib-compile-schemas usr/share/glib-2.0/schemas
+ update-desktop-database -q
+}
+
+pre_upgrade() {
+ if [ -f usr/share/gconf/schemas/gedit.schemas ]; then
+ usr/sbin/gconfpkg --uninstall gedit
+ fi
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}