xbps-src: install_pkg_from_repos(): wrong return value was checked in.

This commit is contained in:
Juan RP 2011-11-01 06:44:07 +01:00
parent 7731c793b7
commit 1e79ff97ee

View file

@ -55,8 +55,8 @@ install_pkg_from_repos()
tmpdepf=$(mktemp)
echo "'${1}'" > $tmpdepf
${cmd} $(cat $tmpdepf) >$tmplogf 2>&1
rm -f $tmpdepf
rval=$?
rm -f $tmpdepf
if [ $rval -ne 0 -a $rval -ne 6 ]; then
# xbps-bin can return:
#