change ipfs add to full data copying mode

previous mode was breaking some fetches
This commit is contained in:
Jeffrey Paul 2018-10-14 21:00:01 -07:00 committed by GitHub
parent c56f2a7dde
commit 71a490420f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ set +x # resume ignoring errors
# https://github.com/ipfs/go-ipfs/issues/3397#issuecomment-284337564
echo "Adding the mirror files to IPFS."
HASH="$($IPFS add --progress --local --nocopy --fscache --quieter --recursive "$MIRROR_DIR" | tail -n1)"
HASH="$($IPFS add --progress --quieter --recursive "$MIRROR_DIR" | tail -n1)"
echo "Published (added/pinned) /ipfs/${HASH}."
echo "Updating IPNS."