summaryrefslogtreecommitdiff
path: root/staging/gedit/gedit.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-27 00:01:30 +0000
committerroot <root@rshg054.dnsready.net>2012-04-27 00:01:30 +0000
commit5233daa5825f00ccf0722ef9733ea6b3bbd44bc8 (patch)
tree9efe4d061ff3f921e97518a8bc84d504bc88e6fc /staging/gedit/gedit.install
parent4a6f4c864badccdbf9756bc45218273796fa6d72 (diff)
Fri Apr 27 00:01:30 UTC 2012
Diffstat (limited to 'staging/gedit/gedit.install')
-rw-r--r--staging/gedit/gedit.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/staging/gedit/gedit.install b/staging/gedit/gedit.install
new file mode 100644
index 000000000..606920688
--- /dev/null
+++ b/staging/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
+}