mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 00:57:01 +02:00
common/travis/check-install: fix error when there are no packages built
This commit is contained in:
parent
311ae8764c
commit
b18c09b839
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue