diff options
Diffstat (limited to 'extra/mousetweaks/mousetweaks.install')
-rw-r--r-- | extra/mousetweaks/mousetweaks.install | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/extra/mousetweaks/mousetweaks.install b/extra/mousetweaks/mousetweaks.install index 05aba9b73..1ae919322 100644 --- a/extra/mousetweaks/mousetweaks.install +++ b/extra/mousetweaks/mousetweaks.install @@ -1,17 +1,17 @@ -pkgname=mousetweaks - post_install() { - usr/sbin/gconfpkg --install ${pkgname} + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas } pre_upgrade() { - pre_remove $1 + if (( $(vercmp $2 2.90.0) < 0 )); then + usr/sbin/gconfpkg --uninstall mousetweaks + fi } post_upgrade() { - post_install $1 + post_install } -pre_remove() { - usr/sbin/gconfpkg --uninstall ${pkgname} +post_remove() { + post_install } |