diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2023-08-23 19:27:58 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2023-08-23 19:27:58 +0300 |
commit | ad861504709c639ccc472f71b7db1fe7f52035d8 (patch) | |
tree | 90677a462998dee62614ba99f37863cbd4edb895 /ipfs-check-install-setup-init-update | |
parent | 7cf79933bffcce36123d3a04f74afb11e94e9660 (diff) | |
download | arching-kaos-tools-ad861504709c639ccc472f71b7db1fe7f52035d8.tar.gz arching-kaos-tools-ad861504709c639ccc472f71b7db1fe7f52035d8.tar.bz2 arching-kaos-tools-ad861504709c639ccc472f71b7db1fe7f52035d8.zip |
Moved the right variable to the right place
Diffstat (limited to 'ipfs-check-install-setup-init-update')
-rwxr-xr-x | ipfs-check-install-setup-init-update | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ipfs-check-install-setup-init-update b/ipfs-check-install-setup-init-update index 2612620..c20a0f2 100755 --- a/ipfs-check-install-setup-init-update +++ b/ipfs-check-install-setup-init-update @@ -9,9 +9,6 @@ install(){ logthis "[INFO]" "Attempting to install IPFS..." IPFS_VERSION="$(curl -s https://dist.ipfs.tech/kubo/versions | tail -1)" - # Setting the SHA512SUM for our swarm - SWARMSHA512SUM="7001e37412758c43d372a969e977ca11511e034c8c1e233a58dc3ce1c6f3c1aa7d2da8cba9944a5eabaa8885742bfe6cc6794224c146b7129da8f633b53b9cfc" - IPFS_TARGET_FILE="kubo_"$IPFS_VERSION"_linux-amd64.tar.gz" logthis "[INFO]" "Downloading ipfs $IPFS_VERSION" @@ -40,6 +37,9 @@ install(){ } swarm_install() { + # Setting the SHA512SUM for our swarm + SWARMSHA512SUM="7001e37412758c43d372a969e977ca11511e034c8c1e233a58dc3ce1c6f3c1aa7d2da8cba9944a5eabaa8885742bfe6cc6794224c146b7129da8f633b53b9cfc" + if [ ! -f $HOME/.ipfs/swarm.key ] then logthis "[INFO]" "Downloading swarm key" |