aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-09-21 10:25:51 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-09-21 10:25:51 +0300
commit06a6332567afd1afaac572ad71ef864dd1de6375 (patch)
treed7b3eeec74466e44e833e26bc249fe01f9eb4979
parenta2de76cc5fb7b0783d442c6a2e53e1b072920a75 (diff)
downloadarching-kaos-tools-06a6332567afd1afaac572ad71ef864dd1de6375.tar.gz
arching-kaos-tools-06a6332567afd1afaac572ad71ef864dd1de6375.tar.bz2
arching-kaos-tools-06a6332567afd1afaac572ad71ef864dd1de6375.zip
Added architecture support
-rwxr-xr-xlib/_ak_ipfs3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/_ak_ipfs b/lib/_ak_ipfs
index db0019c..b15c690 100755
--- a/lib/_ak_ipfs
+++ b/lib/_ak_ipfs
@@ -442,6 +442,9 @@ _ak_ipfs_download(){
elif [ "$(uname --machine)" == "armv7l" ]
then
ARCH="arm"
+ elif [ "$(uname --machine)" == "aarch64" ]
+ then
+ ARCH="arm64"
else
echo "ERROR UNKNOWN ARCHITECTURE $(uname --machine)"
exit 1