diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-12-10 03:26:28 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-12-10 03:26:28 +0200 |
commit | e0ce33001ca741af95608caf66835a66bf72b5ff (patch) | |
tree | ce70d295e94dca2571f0b681a60f89269072f69e /lib/_ak_ipfs | |
parent | 6fd835eb47aab82660440e58be95670a75ef242b (diff) | |
download | arching-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-x | lib/_ak_ipfs | 2 |
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 |