diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2022-09-19 17:32:26 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2022-09-19 17:32:26 +0300 |
commit | 2b802d54e660b6bb8961564870c19fe9c0665a68 (patch) | |
tree | 8950c341298deb91750fd26338b1bc38a5a98b1a /ipfs-check-install-setup-init-update | |
parent | 04f746ddb8a6403ac2f1e369b7b860a2fa6b8a6d (diff) | |
download | arching-kaos-tools-2b802d54e660b6bb8961564870c19fe9c0665a68.tar.gz arching-kaos-tools-2b802d54e660b6bb8961564870c19fe9c0665a68.tar.bz2 arching-kaos-tools-2b802d54e660b6bb8961564870c19fe9c0665a68.zip |
Changed way of getting latest version
Diffstat (limited to 'ipfs-check-install-setup-init-update')
-rwxr-xr-x | ipfs-check-install-setup-init-update | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipfs-check-install-setup-init-update b/ipfs-check-install-setup-init-update index 03ac567..92515a8 100755 --- a/ipfs-check-install-setup-init-update +++ b/ipfs-check-install-setup-init-update @@ -4,7 +4,7 @@ logthis(){ } install(){ logthis "ipfs-check-install-setup-init" - IPFS_VERSION="$(curl https://github.com/ipfs/kubo/releases/latest | sed -e 's/.*releases//g' | sed -e 's/".*//' | sed -e 's/\/tag\///')" + IPFS_VERSION="$(curl -s https://dist.ipfs.tech/kubo/versions | tail -1)" SWARMSHA512SUM="7001e37412758c43d372a969e977ca11511e034c8c1e233a58dc3ce1c6f3c1aa7d2da8cba9944a5eabaa8885742bfe6cc6794224c146b7129da8f633b53b9cfc" IPFS_TARGET_FILE="kubo_"$IPFS_VERSION"_linux-amd64.tar.gz" AKBIN="$WORKDIR/bin" |