forked from LBRYCommunity/lbry-sdk
less verbose snapshot download
This commit is contained in:
parent
0006cb1c27
commit
be64209292
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ SNAPSHOT_URL="${SNAPSHOT_URL:-}" #off by default. latest snapshot at https://lbr
|
||||||
|
|
||||||
if [[ -n "$SNAPSHOT_URL" ]] && [[ ! -f /database/claims.db ]]; then
|
if [[ -n "$SNAPSHOT_URL" ]] && [[ ! -f /database/claims.db ]]; then
|
||||||
echo "Downloading wallet snapshot from $SNAPSHOT_URL"
|
echo "Downloading wallet snapshot from $SNAPSHOT_URL"
|
||||||
wget -O wallet_snapshot.tar.bz2 "$SNAPSHOT_URL"
|
wget --no-verbose -O wallet_snapshot.tar.bz2 "$SNAPSHOT_URL"
|
||||||
echo "Extracting snapshot..."
|
echo "Extracting snapshot..."
|
||||||
tar xvjf wallet_snapshot.tar.bz2 --directory /database
|
tar xvjf wallet_snapshot.tar.bz2 --directory /database
|
||||||
rm wallet_snapshot.tar.bz2
|
rm wallet_snapshot.tar.bz2
|
||||||
|
|
Loading…
Reference in a new issue