You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/_static/install_dependencies.sh
+7-4Lines changed: 7 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
#!/bin/bash
2
2
3
-
set -e
3
+
trap'RET=$? ; echo -e >&2 "\n\x1b[31mFailed installing dependencies. Could be a bug in the installer or unsupported platform. Open a bug report over at https://github.com/luxonis/depthai - exited with status $RET at line $LINENO \x1b[0m\n" ; exit $RET' ERR
4
4
5
5
readonly linux_pkgs=(
6
6
python3
@@ -124,9 +124,11 @@ elif [ -f /etc/os-release ]; then
124
124
python3 -m pip install --upgrade pip
125
125
fi
126
126
127
-
dpkg -s uvcdynctrl > /dev/null 2>&1
127
+
# As set -e is set, retrieve the return value without exiting
0 commit comments