xbps-src: install_pkg_from_repos(): wrong return value was checked in.
This commit is contained in:
parent
7731c793b7
commit
1e79ff97ee
1 changed files with 1 additions and 1 deletions
|
@ -55,8 +55,8 @@ install_pkg_from_repos()
|
||||||
tmpdepf=$(mktemp)
|
tmpdepf=$(mktemp)
|
||||||
echo "'${1}'" > $tmpdepf
|
echo "'${1}'" > $tmpdepf
|
||||||
${cmd} $(cat $tmpdepf) >$tmplogf 2>&1
|
${cmd} $(cat $tmpdepf) >$tmplogf 2>&1
|
||||||
rm -f $tmpdepf
|
|
||||||
rval=$?
|
rval=$?
|
||||||
|
rm -f $tmpdepf
|
||||||
if [ $rval -ne 0 -a $rval -ne 6 ]; then
|
if [ $rval -ne 0 -a $rval -ne 6 ]; then
|
||||||
# xbps-bin can return:
|
# xbps-bin can return:
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue