summaryrefslogtreecommitdiff
path: root/extra/gnome-system-monitor/gnome-system-monitor.install
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-01 22:33:26 +0000
committerroot <root@rshg047.dnsready.net>2011-05-01 22:33:26 +0000
commit40f0b1c7106cc1fed13f14e80f083ecd69c416f5 (patch)
treefaeb03af48db54c663f74f3f188b9c1c56ca6a0b /extra/gnome-system-monitor/gnome-system-monitor.install
parentc173ac862828a54925737fc1d90ede1dd09a312c (diff)
Sun May 1 22:33:26 UTC 2011
Diffstat (limited to 'extra/gnome-system-monitor/gnome-system-monitor.install')
-rw-r--r--extra/gnome-system-monitor/gnome-system-monitor.install12
1 files changed, 7 insertions, 5 deletions
diff --git a/extra/gnome-system-monitor/gnome-system-monitor.install b/extra/gnome-system-monitor/gnome-system-monitor.install
index b20f5f3b9..e2957a570 100644
--- a/extra/gnome-system-monitor/gnome-system-monitor.install
+++ b/extra/gnome-system-monitor/gnome-system-monitor.install
@@ -1,17 +1,19 @@
pkgname=gnome-system-monitor
post_install() {
- usr/sbin/gconfpkg --install ${pkgname}
+ 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
+ post_install $1
}
-pre_remove() {
- usr/sbin/gconfpkg --uninstall ${pkgname}
+post_remove() {
+ post_install $1
}