shutils/builddep_funcs: install from source if binpkg failed.

--HG--
extra : convert_revision : 2d902d3ccaf92fdc42d3be0b789c16412da516f1
This commit is contained in:
Juan RP 2010-01-15 00:14:29 +01:00
parent 1580970d21
commit 6f5aa28a94

View file

@ -121,7 +121,7 @@ install_dependencies_pkg()
for i in ${notinstalled_deps}; do
if [ -n "$XBPS_PREFER_BINPKG_DEPS" ]; then
install_pkg_with_binpkg ${i}
[ $? -ne 0 ] && exit $?
[ $? -eq 0 ] && continue
fi
pkgn=$($XBPS_PKGDB_CMD getpkgdepname ${i})
check_pkgdep_matched "${i}"