From 5f63a3cf4f795efd943e0bbb0a72d72cec34cfaf Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 14 Jan 2015 11:30:49 +0100 Subject: [PATCH] xbps-src: run pre-install hooks for subpkgs too. The pre-install hooks are run before pkg_install(). --- common/xbps-src/libexec/xbps-src-doinstall.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/common/xbps-src/libexec/xbps-src-doinstall.sh b/common/xbps-src/libexec/xbps-src-doinstall.sh index 33ca84ec368..d3054d957fb 100755 --- a/common/xbps-src/libexec/xbps-src-doinstall.sh +++ b/common/xbps-src/libexec/xbps-src-doinstall.sh @@ -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