From e0ce33001ca741af95608caf66835a66bf72b5ff Mon Sep 17 00:00:00 2001 From: kaotisk Date: Tue, 10 Dec 2024 03:26:28 +0200 Subject: Fix for installation under freebsd --- lib/_ak_ipfs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3