Skip to content

Commit

Permalink
Accept both ".tar" and ".tar.gz" format for "regular" archives.
Browse files Browse the repository at this point in the history
  • Loading branch information
andreibancioiu committed May 5, 2023
1 parent 72863c5 commit 37c0634
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit 37c0634

Please sign in to comment.