updated installer, support for Darwin added
This commit is contained in:
parent
f084fa2694
commit
108e5602a8
13
setup.sh
13
setup.sh
|
@ -7,7 +7,18 @@ then
|
|||
echo "run me as root to copy cdbm to the system"
|
||||
else
|
||||
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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue