summaryrefslogtreecommitdiff
path: root/testing/rhythmbox/rhythmbox.install
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-27 22:24:53 +0000
committerroot <root@rshg047.dnsready.net>2011-04-27 22:24:53 +0000
commit18d6577d511b9a1ac36eaae50060133a401e42a3 (patch)
treef681f9444a7a0a95916de40af82d3b805d5fb8d3 /testing/rhythmbox/rhythmbox.install
parent69e1fada8bdc9588d0a3d8bc3403fa809d809a84 (diff)
Wed Apr 27 22:24:53 UTC 2011
Diffstat (limited to 'testing/rhythmbox/rhythmbox.install')
-rw-r--r--testing/rhythmbox/rhythmbox.install18
1 files changed, 8 insertions, 10 deletions
diff --git a/testing/rhythmbox/rhythmbox.install b/testing/rhythmbox/rhythmbox.install
index 10c4f2229..cbea0e6b3 100644
--- a/testing/rhythmbox/rhythmbox.install
+++ b/testing/rhythmbox/rhythmbox.install
@@ -1,24 +1,22 @@
pkgname=rhythmbox
post_install() {
- usr/sbin/gconfpkg --install ${pkgname}
- update-desktop-database -q
- gtk-update-icon-cache -f -q -t usr/share/icons/hicolor
+ glib-compile-schemas usr/share/glib-2.0/schemas
+ update-desktop-database -q
+ gtk-update-icon-cache -f -q -t usr/share/icons/hicolor
}
pre_upgrade() {
- pre_remove
+ 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 -f -q -t usr/share/icons/hicolor
+ post_install $1
}