xbps-src: fix hooks that are expected to be used in subpkgs.

This commit is contained in:
Juan RP 2015-01-14 14:22:18 +01:00
parent 5a7ae5989e
commit aed0f3ee0e
3 changed files with 3 additions and 3 deletions

View file

@ -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