adapted setup for arm64 Darwin version of cdbm

This commit is contained in:
tracer 2024-01-22 12:09:22 +01:00
parent 540260c324
commit 993e307bd3
1 changed files with 11 additions and 1 deletions

View File

@ -1,4 +1,6 @@
#!/bin/sh
#
#set -x
dotPath=".config/dotfiles"
@ -17,7 +19,15 @@ else
OS=`uname`
case "$OS" in
Darwin)
cp $dotPath/cdbm/Darwin/cdbm /usr/local/bin
ARCH=`uname -m`
case "$ARCH" in
arm64)
cp $dotPath/cdbm/Darwin/arm64/cdbm /usr/local/bin
;;
*)
cp $dotPath/cdbm/Darwin/x86_64/cdbm /usr/local/bin
;;
esac
;;
Linux)
cp $dotPath//cdbm/Linux/cdbm /usr/local/bin