aboutsummaryrefslogtreecommitdiff
path: root/lib/_ak_ipfs
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-12-07 04:22:05 +0200
committerkaotisk <kaotisk@arching-kaos.org>2024-12-07 04:22:05 +0200
commitd002df626740a2ccc6d897a8c10cf65672ae0b74 (patch)
treeddabc13bd7cfdd516dd17389529adbe25b022308 /lib/_ak_ipfs
parent1305976d458a92d7aa3b5ff456a9b1e7b49c8468 (diff)
downloadarching-kaos-tools-d002df626740a2ccc6d897a8c10cf65672ae0b74.tar.gz
arching-kaos-tools-d002df626740a2ccc6d897a8c10cf65672ae0b74.tar.bz2
arching-kaos-tools-d002df626740a2ccc6d897a8c10cf65672ae0b74.zip
Removed wget from dependencies
Diffstat (limited to 'lib/_ak_ipfs')
-rwxr-xr-xlib/_ak_ipfs4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/_ak_ipfs b/lib/_ak_ipfs
index 94f5913..c5e0b6a 100755
--- a/lib/_ak_ipfs
+++ b/lib/_ak_ipfs
@@ -453,7 +453,7 @@ _ak_ipfs_download(){
_ak_log_info "Downloading ipfs $IPFS_VERSION"
if [ ! -f $AK_ARCHIVESDIR/$IPFS_TARGET_FILE ]
then
- wget -O $AK_ARCHIVESDIR/$IPFS_TARGET_FILE https://dist.ipfs.tech/kubo/$IPFS_VERSION/$IPFS_TARGET_FILE ;
+ curl -s -o $AK_ARCHIVESDIR/$IPFS_TARGET_FILE https://dist.ipfs.tech/kubo/$IPFS_VERSION/$IPFS_TARGET_FILE
else
_ak_log_info "Already have the latest version"
exit 0
@@ -485,7 +485,7 @@ _ak_ipfs_swarm_install(){
if [ ! -f $AK_IPFS_REPO/swarm.key ]
then
_ak_log_info "Downloading swarm key"
- wget -O $AK_IPFS_REPO/swarm.key https://arching-kaos.net/files/swarm.key
+ curl -s -o $AK_IPFS_REPO/swarm.key https://arching-kaos.net/files/swarm.key
elif [ -f $AK_IPFS_REPO/swarm.key ] && [ "$(sha512sum $AK_IPFS_REPO/swarm.key | awk '{ print $1 }')" == "$SWARMSHA512SUM" ]
then
_ak_log_info "Congrats! You are already in our swarm"