summaryrefslogtreecommitdiff
path: root/extra/epiphany/epiphany.install
diff options
context:
space:
mode:
Diffstat (limited to 'extra/epiphany/epiphany.install')
-rw-r--r--extra/epiphany/epiphany.install17
1 files changed, 6 insertions, 11 deletions
diff --git a/extra/epiphany/epiphany.install b/extra/epiphany/epiphany.install
index bd9d774a6..00b1abb96 100644
--- a/extra/epiphany/epiphany.install
+++ b/extra/epiphany/epiphany.install
@@ -1,25 +1,20 @@
-pkgname=epiphany
-
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/epiphany.schemas ]; then
+ usr/sbin/gconfpkg --uninstall epiphany
+ 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
}