From f3a1031251e75dd2ef6f5a02ba6100b3495672da Mon Sep 17 00:00:00 2001 From: Yorick Date: Mon, 28 Oct 2024 07:29:56 +0000 Subject: [PATCH] Switch Erigon users to new repo --- ethd | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ethd b/ethd index 943f9274..0a6e7f80 100755 --- a/ethd +++ b/ethd @@ -1167,12 +1167,12 @@ __env_migrate() { if [[ "${__var}" = "LH_DOCKER_TAG" && "${__value}" = "latest-modern" ]]; then # LH 5.2 ditched latest-modern __value="latest" fi -# if [[ "${__var}" = "ERIGON_DOCKER_TAG" && "${__value}" = "stable" ]]; then # Erigon switched to latest -# __value="latest" -# fi -# if [[ "${__var}" = "ERIGON_DOCKER_REPO" && "${__value}" = "thorax/erigon" ]]; then # Erigon new repo -# __value="erigontech/erigon" -# fi + if [[ "${__var}" = "ERIGON_DOCKER_TAG" && "${__value}" = "stable" ]]; then # Erigon switched to latest + __value="latest" + fi + if [[ "${__var}" = "ERIGON_DOCKER_REPO" && "${__value}" = "thorax/erigon" ]]; then # Erigon new repo + __value="erigontech/erigon" + fi sed -i'.original' -e "s~^\(${__var}\s*=\s*\).*$~\1${__value}~" "${__env_file}" fi done