diff options
author | root <root@rshg047.dnsready.net> | 2011-06-15 22:59:36 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-06-15 22:59:36 +0000 |
commit | ebe74a263db3899367e12d936f908cdfdee7ec15 (patch) | |
tree | 48d62da97d7807b3d380c3902a21ae98340b0ea6 /testing/rhythmbox/rhythmbox.install | |
parent | ba3afb3907fc927bd08713613d4a30a9479c715c (diff) |
Wed Jun 15 22:59:36 UTC 2011
Diffstat (limited to 'testing/rhythmbox/rhythmbox.install')
-rw-r--r-- | testing/rhythmbox/rhythmbox.install | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/rhythmbox/rhythmbox.install b/testing/rhythmbox/rhythmbox.install new file mode 100644 index 000000000..cbea0e6b3 --- /dev/null +++ b/testing/rhythmbox/rhythmbox.install @@ -0,0 +1,22 @@ +pkgname=rhythmbox + +post_install() { + 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() { + if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then + usr/sbin/gconfpkg --uninstall ${pkgname} + fi +} + +post_upgrade() { + post_install $1 +} + + +post_remove() { + post_install $1 +} |