updated installer, support for Darwin added

This commit is contained in:
tracer 2020-01-07 09:20:50 +01:00
parent f084fa2694
commit 108e5602a8
2 changed files with 12 additions and 1 deletions

View File

@ -7,7 +7,18 @@ then
echo "run me as root to copy cdbm to the system" echo "run me as root to copy cdbm to the system"
else else
if [ ! -d /usr/local/bin ]; then mkdir -p /usr/local/bin; fi if [ ! -d /usr/local/bin ]; then mkdir -p /usr/local/bin; fi
cp Settings/cdbm /usr/local/bin OS=`uname`
case "$OS" in
Darwin)
cp Settings/cdbm/Darwin/cdbm /usr/local/bin
;;
Linux)
cp Settings/cdbm/Linux/cdbm /usr/local/bin
;;
*)
$OS is not supported
;;
esac
fi fi