mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-10-31 23:46:28 +00:00
Add ability to ignore failed installs
This commit is contained in:
parent
e782544db9
commit
c21fd30312
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user