# arg 1: the new package version post_install() { echo "" echo ">>> An example configuration has been saved to /etc/motion-dispatch.conf" } op=$1 shift [ "$(type -t "$op")" = "function" ] && $op "$@" # vim:set ts=2 et: