aboutsummaryrefslogtreecommitdiff
path: root/lib/_ak_ipfs
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-12-10 03:26:28 +0200
committerkaotisk <kaotisk@arching-kaos.org>2024-12-10 03:26:28 +0200
commite0ce33001ca741af95608caf66835a66bf72b5ff (patch)
treece70d295e94dca2571f0b681a60f89269072f69e /lib/_ak_ipfs
parent6fd835eb47aab82660440e58be95670a75ef242b (diff)
downloadarching-kaos-tools-e0ce33001ca741af95608caf66835a66bf72b5ff.tar.gz
arching-kaos-tools-e0ce33001ca741af95608caf66835a66bf72b5ff.tar.bz2
arching-kaos-tools-e0ce33001ca741af95608caf66835a66bf72b5ff.zip
Fix for installation under freebsd
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