xbps-src/build_dependencies.sh: in !CHROOT_READY case don't install pkgs with fakeroot.

This commit is contained in:
Juan RP 2014-05-19 12:40:44 +02:00
parent 6fc3d360fc
commit 14a5ef4503

View file

@ -14,7 +14,11 @@ install_pkg_from_repos() {
if [ -n "$cross" ]; then if [ -n "$cross" ]; then
$FAKEROOT_CMD $XBPS_INSTALL_XCMD -Ayd "$pkg" >$tmplogf 2>&1 $FAKEROOT_CMD $XBPS_INSTALL_XCMD -Ayd "$pkg" >$tmplogf 2>&1
else else
$FAKEROOT_CMD $XBPS_INSTALL_CMD -Ayd "$pkg" >$tmplogf 2>&1 if [ -z "$CHROOT_READY" ]; then
$XBPS_INSTALL_CMD -Ayd "$pkg" >$tmplogf 2>&1
else
$FAKEROOT_CMD $XBPS_INSTALL_CMD -Ayd "$pkg" >$tmplogf 2>&1
fi
fi fi
rval=$? rval=$?
if [ $rval -ne 0 -a $rval -ne 17 ]; then if [ $rval -ne 0 -a $rval -ne 17 ]; then