Add ability to ignore failed installs

This commit is contained in:
ViViDboarder 2021-12-17 11:25:06 -08:00
parent e782544db9
commit c21fd30312
1 changed files with 7 additions and 1 deletions

View File

@ -1,9 +1,15 @@
#! /bin/bash
set -e
# Clear explicit PYTHONPATH since this gets confused between py2 and py3
export PYTHONPATH=""
# Ignore failed installs
if [ -z "$IGNORE_MISSING" ]; then
set -e
else
set +e
fi
# Determines if a command exists or not
function command_exist() {
command -v "$1" > /dev/null 2>&1;