repo: dont error if we cannot access piston_api
This commit is contained in:
parent
b410fa8525
commit
d295861a7d
|
@ -7,4 +7,4 @@ done
|
||||||
cd /repo
|
cd /repo
|
||||||
./mkindex.sh
|
./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"
|
||||||
|
|
Loading…
Reference in New Issue