From f733038885954908da9457b5dc227640e69aed35 Mon Sep 17 00:00:00 2001 From: Ralph Date: Wed, 3 Jan 2024 09:57:55 -0500 Subject: [PATCH] Update entrypoint.sh --- scripts/entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/entrypoint.sh b/scripts/entrypoint.sh index 87b88ff..9b480c3 100755 --- a/scripts/entrypoint.sh +++ b/scripts/entrypoint.sh @@ -9,7 +9,8 @@ SNAPSHOT_URL="${SNAPSHOT_URL:-}" #off by default. latest snapshot at https://lbr if [[ "$HUB_COMMAND" == "scribe" ]] && [[ -n "$SNAPSHOT_URL" ]] && [[ ! -d /database/lbry-rocksdb ]]; then files="$(ls)" echo "Downloading and extracting hub snapshot from $SNAPSHOT_URL" - wget --no-verbose -c "$SNAPSHOT_URL" -O - | tar --use-compress-program=unzstd x -C /database + #wget --no-verbose -c "$SNAPSHOT_URL" -O - | tar x -C /database + curl "$SNAPSHOT_URL" | zstd -d | tar xf - -C /database fi if [ -z "$HUB_COMMAND" ]; then