post_install() { /usr/bin/ctpkg grab ctpkg /usr/bin/ctpkg grab upg } pre_remove() { /usr/bin/ctpkg ctpm p sys ctpkg } op=$1 shift $op "$@"