meta: also run do-$step_name hooks when run_step is called.

This commit is contained in:
maxice8 2019-03-03 12:45:39 -03:00 committed by maxice8
parent 79172bd8dc
commit 166b70f35b
1 changed files with 3 additions and 0 deletions

View File

@ -67,6 +67,9 @@ run_step() {
msg_error "$pkgver: cannot find do_$step_name()!\n"
fi
# Run do_ phase hooks
run_pkg_hooks "do-$step_name"
# Run post_* Phase
if declare -f "post_$step_name" >/dev/null; then
ch_wrksrc