File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,12 @@ readonly fedora_pkgs=(
117117 # libsm6 libxext6 libgl1-mesa-glx
118118)
119119
120+ # Check Bash version
121+ if [[ " ${BASH_VERSINFO:- 0} " -lt 4 ]]; then
122+ echo " This script requires Bash 4.0 or higher. You are using Bash ${BASH_VERSION} . Please upgrade your Bash version."
123+ exit 1
124+ fi
125+
120126print_action () {
121127 green=" \e[0;32m"
122128 reset=" \e[0;0m"
Original file line number Diff line number Diff line change @@ -159,6 +159,11 @@ if [[ $(uname -s) == "Darwin" ]]; then
159159 pip install pyqt5
160160 pip install packaging
161161
162+ # Inform macOS users about PATH changes
163+ echo " DepthAI has been added to your PATH in .bashrc and .zshrc (if present)."
164+ echo " If you prefer, you can manually add the following line to your .bash_profile for it to be recognized in login shells:"
165+ echo " export PATH=\$ PATH:$ENTRYPOINT_DIR "
166+
162167elif [[ $( uname -s) == " Linux" ]]; then
163168 echo _____________________________
164169 echo " Calling linux_installer.sh"
You can’t perform that action at this time.
0 commit comments