common/travis/check-install.sh: also fail on other failure modes
11 = EINVAL, which can come from conflict check and a few other places
This commit is contained in:
parent
a2fc203a81
commit
89c8582509
1 changed files with 2 additions and 1 deletions
|
@ -21,7 +21,8 @@ while read -r pkg; do
|
|||
$ROOTDIR $ADDREPO \
|
||||
-Sny \
|
||||
"$subpkg" "$(xbps-uhelper getpkgname "$dep")"
|
||||
if [ $? -eq 8 ]; then
|
||||
ret="$?"
|
||||
if [ "$ret" -eq 8 ] || [ "$ret" -eq 11 ]; then
|
||||
/bin/echo -e "\x1b[31mFailed to install '$subpkg' and '$dep'\x1b[0m"
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue