summaryrefslogtreecommitdiff
path: root/extra/evolution/evolution.install
diff options
context:
space:
mode:
Diffstat (limited to 'extra/evolution/evolution.install')
-rw-r--r--extra/evolution/evolution.install13
1 files changed, 4 insertions, 9 deletions
diff --git a/extra/evolution/evolution.install b/extra/evolution/evolution.install
index 500c5e2da..67eca41f0 100644
--- a/extra/evolution/evolution.install
+++ b/extra/evolution/evolution.install
@@ -1,24 +1,19 @@
post_install() {
glib-compile-schemas /usr/share/glib-2.0/schemas
- gconfpkg --install evolution
update-desktop-database -q
gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
}
pre_upgrade() {
- pre_remove
+ if [ -f /usr/share/gconf/schemas/evolution.schemas ]; then
+ gconfpkg --uninstall evolution
+ fi
}
post_upgrade() {
post_install
}
-pre_remove() {
- gconfpkg --uninstall evolution
-}
-
post_remove() {
- glib-compile-schemas /usr/share/glib-2.0/schemas
- update-desktop-database -q
- gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+ post_install
}