summaryrefslogtreecommitdiff
path: root/extra/devhelp/devhelp.install
diff options
context:
space:
mode:
Diffstat (limited to 'extra/devhelp/devhelp.install')
-rw-r--r--extra/devhelp/devhelp.install16
1 files changed, 6 insertions, 10 deletions
diff --git a/extra/devhelp/devhelp.install b/extra/devhelp/devhelp.install
index 4db5f6e5c..03f95852c 100644
--- a/extra/devhelp/devhelp.install
+++ b/extra/devhelp/devhelp.install
@@ -1,22 +1,18 @@
-pkgname=devhelp
-
post_install() {
- usr/sbin/gconfpkg --install ${pkgname}
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
}
pre_upgrade() {
- pre_remove
+ if (( $(vercmp $2 3.8.0) < 0 )); then
+ gconfpkg --uninstall devhelp
+ fi
}
post_upgrade() {
post_install
}
-pre_remove() {
- usr/sbin/gconfpkg --uninstall ${pkgname}
-}
-
post_remove() {
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ post_install
}