aboutsummaryrefslogtreecommitdiff
path: root/common/travis
diff options
context:
space:
mode:
authorclassabbyamp <void@placeviolette.net>2023-03-13 01:00:14 +0000
committerclassabbyamp <5366828+classabbyamp@users.noreply.github.com>2023-03-15 20:13:33 +0000
commit89c8582509c73c1790d686ee2d08a7383e90d3eb (patch)
treea6c6c0516ea3f08d66b04906a594c9c1e135d443 /common/travis
parenta2fc203a81395ddcdc724c14f9dc531a9458f40d (diff)
downloadvoid-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-xcommon/travis/check-install.sh3
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