summaryrefslogtreecommitdiff
path: root/gnome-unstable/gedit/gedit.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-04 01:23:34 -0700
committerroot <root@rshg054.dnsready.net>2012-10-04 01:23:34 -0700
commitc3ff6b4da8966c22dcbf0f5d8a957b875242789f (patch)
tree73064dc985b6d59695639dfb6d4ae4ba99395cc5 /gnome-unstable/gedit/gedit.install
parent1350233b6dc1924ba29a42462447995f26dae0dc (diff)
Thu Oct 4 01:23:34 PDT 2012
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..606920688
--- /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
+ gconfpkg --uninstall gedit
+ fi
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}