diff options
author | Mantas Mikulėnas | 2016-04-27 15:57:55 +0300 |
---|---|---|
committer | Mantas Mikulėnas | 2016-04-27 15:57:55 +0300 |
commit | 3377c64c04c71b0e74a402b890418985630bcba3 (patch) | |
tree | 36020076ce573e33ab23baf3da0c5d68ff9557c7 | |
parent | cf7216ff3c6c9286778633eccd90d8f991cefd8e (diff) | |
download | aur-3377c64c04c71b0e74a402b890418985630bcba3.tar.gz |
rely on hooks for install actions
-rw-r--r-- | mail-notification.install | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/mail-notification.install b/mail-notification.install index 21cd943996af..38a876482367 100644 --- a/mail-notification.install +++ b/mail-notification.install @@ -1,24 +1,11 @@ -pkgname=mail-notification - post_install() { - usr/sbin/gconfpkg --install ${pkgname} kill -s HUP `pidof bonobo-activation-server` > /dev/null 2>&1 - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor -} - -pre_upgrade() { - pre_remove $1 } post_upgrade() { - post_install $1 -} - -pre_remove() { - usr/sbin/gconfpkg --uninstall ${pkgname} + post_install } post_remove() { - kill -s HUP `pidof bonobo-activation-server` > /dev/null 2>&1 - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + post_install } |