summaryrefslogtreecommitdiff
path: root/extra/file-roller/file-roller.install
diff options
context:
space:
mode:
Diffstat (limited to 'extra/file-roller/file-roller.install')
-rw-r--r--extra/file-roller/file-roller.install18
1 files changed, 8 insertions, 10 deletions
diff --git a/extra/file-roller/file-roller.install b/extra/file-roller/file-roller.install
index e39620af7..10a148241 100644
--- a/extra/file-roller/file-roller.install
+++ b/extra/file-roller/file-roller.install
@@ -1,24 +1,22 @@
pkgname=file-roller
post_install() {
- usr/sbin/gconfpkg --install ${pkgname}
- update-desktop-database -q
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ 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
+ post_install $1
}
-pre_remove() {
- usr/sbin/gconfpkg --uninstall ${pkgname}
-}
post_remove() {
- update-desktop-database -q
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ post_install $1
}