Finally fix fakeroot on Arch linux, return on errors while processing deps.

This commit is contained in:
Juan RP 2010-05-10 12:09:06 +02:00
parent 2850e6ed79
commit 2ee55de018
3 changed files with 9 additions and 9 deletions

View file

@ -64,8 +64,7 @@ install_pkg()
# Install dependencies required by this package.
#
if [ -z "$doing_deps" ]; then
install_dependencies_pkg $pkg
[ $? -ne 0 ] && return $?
install_dependencies_pkg $pkg || return $?
#
# At this point all required deps are installed, and
# only remaining is the origin package; install it.
@ -98,7 +97,7 @@ install_pkg()
# Install pkg into destdir.
set_build_vars
env xbps_machine=${xbps_machine} MASTERDIR=${_MASTERDIR} \
dontrm_builddir=${dontrm_builddir} \
dontrm_builddir=${dontrm_builddir} wrksrc=${wrksrc} \
${fakeroot_cmd} ${fakeroot_cmd_args} \
@@XBPS_INSTALL_LIBEXECDIR@@/xbps-src-doinst-helper \
${curpkgn} || return $?