diff --git a/common/travis/check-install.sh b/common/travis/check-install.sh index 2117e45a1ea..cf8a0ebdedf 100755 --- a/common/travis/check-install.sh +++ b/common/travis/check-install.sh @@ -32,7 +32,10 @@ ROOTDIR="-r /check-install" # can choose the one provided by cross-vpkg-dummy instead # of the actual package # this is fine to do here because it runs last in CI -sed -i -e '/bootstrap/d' "${CONFDIR#-C }"/*remote*.conf +for f in "${CONFDIR#-C }"/*remote*.conf; do + [ -e "$f" ] || break + sed -i -e '/bootstrap/d' "$f" +done # if this fails, there were no packages built for this arch and thus no repodatas xbps-install $ROOTDIR $ADDREPO $CONFDIR -S || exit 0