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
|
@ -21,7 +21,8 @@ while read -r pkg; do
|
||||||
$ROOTDIR $ADDREPO \
|
$ROOTDIR $ADDREPO \
|
||||||
-Sny \
|
-Sny \
|
||||||
"$subpkg" "$(xbps-uhelper getpkgname "$dep")"
|
"$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"
|
/bin/echo -e "\x1b[31mFailed to install '$subpkg' and '$dep'\x1b[0m"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue