xbps-src: fix hooks that are expected to be used in subpkgs.
This commit is contained in:
parent
5a7ae5989e
commit
aed0f3ee0e
3 changed files with 3 additions and 3 deletions
|
@ -88,8 +88,8 @@ 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_pkg_hooks pre-install
|
||||
run_func pkg_install
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue