summaryrefslogtreecommitdiff
path: root/extra/seahorse/seahorse.install
diff options
context:
space:
mode:
Diffstat (limited to 'extra/seahorse/seahorse.install')
-rw-r--r--extra/seahorse/seahorse.install15
1 files changed, 6 insertions, 9 deletions
diff --git a/extra/seahorse/seahorse.install b/extra/seahorse/seahorse.install
index 97feac3b1..9a98d52e0 100644
--- a/extra/seahorse/seahorse.install
+++ b/extra/seahorse/seahorse.install
@@ -1,24 +1,21 @@
pkgname=seahorse
post_install() {
- usr/sbin/gconfpkg --install ${pkgname}
+ glib-compile-schemas usr/share/glib-2.0/schemas
update-desktop-database -q
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}
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_install
}
post_remove() {
- update-desktop-database -q
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ post_install
}