From 7822ec79da058ee048cbb21634ba8193cca48136 Mon Sep 17 00:00:00 2001 From: Ralph Date: Wed, 3 Jan 2024 09:47:52 -0500 Subject: [PATCH] Update to use zstd archives for the snapshot file --- scripts/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/entrypoint.sh b/scripts/entrypoint.sh index 5e74456..87b88ff 100755 --- a/scripts/entrypoint.sh +++ b/scripts/entrypoint.sh @@ -9,7 +9,7 @@ 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 x -C /database + wget --no-verbose -c "$SNAPSHOT_URL" -O - | tar --use-compress-program=unzstd x -C /database fi if [ -z "$HUB_COMMAND" ]; then