diff options
Diffstat (limited to 'extra/sound-juicer/sound-juicer.install')
-rw-r--r-- | extra/sound-juicer/sound-juicer.install | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/extra/sound-juicer/sound-juicer.install b/extra/sound-juicer/sound-juicer.install index 5286a0055..5f83cb495 100644 --- a/extra/sound-juicer/sound-juicer.install +++ b/extra/sound-juicer/sound-juicer.install @@ -1,24 +1,18 @@ -pkgname=sound-juicer - 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 + (( $(vercmp $2 3.12.0) < 0 )) && gconfpkg --uninstall sound-juicer + return 0 } 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 } |