From b18c09b839a6381d436a0bc8dbebce40e5614e16 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Thu, 6 Mar 2025 23:30:13 -0500 Subject: [PATCH] common/travis/check-install: fix error when there are no packages built --- common/travis/check-install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/travis/check-install.sh b/common/travis/check-install.sh index 4bfb6e2c8d7..9fa68cb9a71 100755 --- a/common/travis/check-install.sh +++ b/common/travis/check-install.sh @@ -27,7 +27,8 @@ ADDREPO="--repository=hostdir/binpkgs/bootstrap --repository=hostdir/binpkgs/nonfree" ROOTDIR="-r /check-install" -xbps-install $ROOTDIR $ADDREPO $CONFDIR -S +# if this fails, there were no packages built for this arch and thus no repodatas +xbps-install $ROOTDIR $ADDREPO $CONFDIR -S || exit 0 while read -r pkg; do for subpkg in $(xsubpkg $pkg); do