mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2024-10-01 06:55:46 -04:00
37 lines
829 B
Bash
37 lines
829 B
Bash
|
#!/bin/bash
|
||
|
SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||
|
source $SCRIPTDIR/_script_common
|
||
|
|
||
|
if [[ "$(uname)" != "Darwin" ]]; then
|
||
|
echo Not running MacOS
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
# # ensure unzip is installed
|
||
|
# if command -v unzip &> /dev/null; then
|
||
|
# echo '[X] unzip is available in the path'
|
||
|
# else
|
||
|
# echo 'unzip is not available in the path'
|
||
|
# exit 1
|
||
|
# fi
|
||
|
|
||
|
# # ensure rsync is installed
|
||
|
# if command -v rsync &> /dev/null; then
|
||
|
# echo '[X] rsync is available in the path'
|
||
|
# else
|
||
|
# echo 'rsync is not available in the path'
|
||
|
# exit 1
|
||
|
# fi
|
||
|
|
||
|
# # ensure sed is installed
|
||
|
# if command -v sed &> /dev/null; then
|
||
|
# echo '[X] sed is available in the path'
|
||
|
# else
|
||
|
# echo 'sed is not available in the path'
|
||
|
# exit 1
|
||
|
# fi
|
||
|
|
||
|
# run setup for veilid
|
||
|
$VEILIDDIR/setup_macos.sh
|
||
|
|