common/travis/check-install: fix error when there are no packages built
This commit is contained in:
parent
311ae8764c
commit
b18c09b839
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user