summaryrefslogtreecommitdiff
path: root/extra/libgweather/libgweather.install
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libgweather/libgweather.install')
-rw-r--r--extra/libgweather/libgweather.install16
1 files changed, 6 insertions, 10 deletions
diff --git a/extra/libgweather/libgweather.install b/extra/libgweather/libgweather.install
index 0d646b872..3ba0d0a48 100644
--- a/extra/libgweather/libgweather.install
+++ b/extra/libgweather/libgweather.install
@@ -1,22 +1,18 @@
-pkgname=libgweather
-
post_install() {
- gconfpkg --install $pkgname
gtk-update-icon-cache -q -t -f /usr/share/icons/gnome
+ glib-compile-schemas /usr/share/glib-2.0/schemas
}
pre_upgrade() {
- pre_remove $1
+ if [ -f /usr/share/gconf/schemas/libgweather.schemas ]; then
+ gconfpkg --uninstall libgweather
+ fi
}
post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- gconfpkg --uninstall $pkgname
+ post_install
}
post_remove() {
- gtk-update-icon-cache -q -t -f /usr/share/icons/gnome
+ post_install
}