aboutsummaryrefslogtreecommitdiff
path: root/lib/_ak_ipfs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/_ak_ipfs')
-rwxr-xr-xlib/_ak_ipfs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/_ak_ipfs b/lib/_ak_ipfs
index 1028ae8..8ac363b 100755
--- a/lib/_ak_ipfs
+++ b/lib/_ak_ipfs
@@ -449,7 +449,7 @@ _ak_ipfs_download(){
echo "ERROR UNKNOWN ARCHITECTURE $(uname --machine)"
exit 1
fi
- IPFS_TARGET_FILE="kubo_"$IPFS_VERSION"_linux-$ARCH.tar.gz"
+ IPFS_TARGET_FILE="kubo_${IPFS_VERSION}_$(uname|tr "[:upper:]" "[:lower:]")-${ARCH}.tar.gz"
_ak_log_info "Downloading ipfs $IPFS_VERSION"
if [ ! -f $AK_ARCHIVESDIR/$IPFS_TARGET_FILE ]
then