xbps-src: run pre-install hooks for subpkgs too.
The pre-install hooks are run before pkg_install().
This commit is contained in:
parent
0e42bf442e
commit
5f63a3cf4f
|
@ -88,6 +88,7 @@ if [ ! -f $XBPS_SUBPKG_INSTALL_DONE ]; then
|
|||
|
||||
install -d $PKGDESTDIR
|
||||
if declare -f pkg_install >/dev/null; then
|
||||
run_pkg_hooks pre-install
|
||||
export XBPS_PKGDESTDIR=1
|
||||
run_func pkg_install
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue