From 37c0634d97adb1d81775e3840abb76892e8bdc54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20B=C4=83ncioiu?= Date: Fri, 5 May 2023 12:03:47 +0300 Subject: [PATCH] Accept both ".tar" and ".tar.gz" format for "regular" archives. --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 9c7571c..e8ff4e4 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -65,10 +65,10 @@ downloadRegularArchive() { fi echo "Downloading ${DOWNLOAD_REGULAR_ARCHIVE_URL} ..." - wget -O archive.tar.gz "${DOWNLOAD_REGULAR_ARCHIVE_URL}" || return 1 + wget -O archive "${DOWNLOAD_REGULAR_ARCHIVE_URL}" || return 1 echo "Extracting archive ..." - tar -xzf archive.tar.gz || return 1 + tar -xf archive || return 1 } # Download a set of epochs with non-pruned state (with support for historical state lookup).