repo: dont error if we cannot access piston_api

This commit is contained in:
Thomas Hobson 2021-02-28 22:18:27 +13:00
parent b410fa8525
commit d295861a7d
No known key found for this signature in database
GPG Key ID: 9F1FD9D87950DB6F
1 changed files with 1 additions and 1 deletions

View File

@ -7,4 +7,4 @@ done
cd /repo
./mkindex.sh
curl -s http://piston_api:6969/repos -XPOST -d "slug=local&url=file:///repo/index.yaml"
curl -s http://piston_api:6969/repos -XPOST -d "slug=local&url=file:///repo/index.yaml" || echo "WARNING: Could not add repository"