diff options
author | classabbyamp <void@placeviolette.net> | 2023-03-13 01:00:14 +0000 |
---|---|---|
committer | classabbyamp <5366828+classabbyamp@users.noreply.github.com> | 2023-03-15 20:13:33 +0000 |
commit | 89c8582509c73c1790d686ee2d08a7383e90d3eb (patch) | |
tree | a6c6c0516ea3f08d66b04906a594c9c1e135d443 /common/travis | |
parent | a2fc203a81395ddcdc724c14f9dc531a9458f40d (diff) | |
download | void-packages-89c8582509c73c1790d686ee2d08a7383e90d3eb.tar void-packages-89c8582509c73c1790d686ee2d08a7383e90d3eb.tar.gz void-packages-89c8582509c73c1790d686ee2d08a7383e90d3eb.tar.bz2 void-packages-89c8582509c73c1790d686ee2d08a7383e90d3eb.tar.lz void-packages-89c8582509c73c1790d686ee2d08a7383e90d3eb.tar.xz void-packages-89c8582509c73c1790d686ee2d08a7383e90d3eb.tar.zst void-packages-89c8582509c73c1790d686ee2d08a7383e90d3eb.zip |
common/travis/check-install.sh: also fail on other failure modes
11 = EINVAL, which can come from conflict check and a few other places
Diffstat (limited to 'common/travis')
-rwxr-xr-x | common/travis/check-install.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/travis/check-install.sh b/common/travis/check-install.sh index b5268085db5..943a6bc6211 100755 --- a/common/travis/check-install.sh +++ b/common/travis/check-install.sh @@ -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 |