mirror of https://github.com/k3s-io/k3s.git
Merge pull request #279 from erikwilson/installer-shasum-fix
Fix installer shasum checkpull/288/head
commit
2dee94e163
|
@ -226,7 +226,7 @@ download_hash() {
|
||||||
HASH_URL=${GITHUB_URL}/download/${VERSION_K3S}/sha256sum-${ARCH}.txt
|
HASH_URL=${GITHUB_URL}/download/${VERSION_K3S}/sha256sum-${ARCH}.txt
|
||||||
info "Downloading hash ${HASH_URL}"
|
info "Downloading hash ${HASH_URL}"
|
||||||
curl -o ${TMP_HASH} -sfL ${HASH_URL} || fatal "Hash download failed"
|
curl -o ${TMP_HASH} -sfL ${HASH_URL} || fatal "Hash download failed"
|
||||||
HASH_EXPECTED=`grep k3s ${TMP_HASH} | awk '{print $1}'`
|
HASH_EXPECTED=`grep " k3s${SUFFIX}$" ${TMP_HASH} | awk '{print $1}'`
|
||||||
}
|
}
|
||||||
|
|
||||||
# --- check hash against installed version ---
|
# --- check hash against installed version ---
|
||||||
|
|
Loading…
Reference in New Issue