summaryrefslogtreecommitdiff
path: root/gnome-unstable/gedit/gedit.install
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-unstable/gedit/gedit.install')
-rw-r--r--gnome-unstable/gedit/gedit.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnome-unstable/gedit/gedit.install b/gnome-unstable/gedit/gedit.install
new file mode 100644
index 000000000..9d88a1341
--- /dev/null
+++ b/gnome-unstable/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
+}