summaryrefslogtreecommitdiff
path: root/community/gedit-plugins/gedit-plugins.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/gedit-plugins/gedit-plugins.install')
-rw-r--r--community/gedit-plugins/gedit-plugins.install11
1 files changed, 5 insertions, 6 deletions
diff --git a/community/gedit-plugins/gedit-plugins.install b/community/gedit-plugins/gedit-plugins.install
index 5a2fca03e..d5bcc00ae 100644
--- a/community/gedit-plugins/gedit-plugins.install
+++ b/community/gedit-plugins/gedit-plugins.install
@@ -1,23 +1,22 @@
pkgname=gedit-plugins
post_install() {
- usr/sbin/gconfpkg --install ${pkgname}
+ usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
}
pre_upgrade() {
- pre_remove $1
+ if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then
+ usr/sbin/gconfpkg --uninstall ${pkgname}
+ fi
}
post_upgrade() {
post_install $1
}
-pre_remove() {
- usr/sbin/gconfpkg --uninstall ${pkgname}
-}
post_remove() {
- /bin/true
+ post_install $1
}