# vim:set ts=2 sw=2 et: # arg 1: the new package version post_install() { # display depency info echo '-- Unused dependencies:' pacman -Qdt echo '-- Local-only packages' pacman -Qm return 0 } # arg 1: the new package version # arg 2: the old package version post_upgrade() { post_install "$1" }