[build.sh] Fix dependency installation by 'set +e' beforehand

pull/131/head
jackun 4 years ago
parent e1a364bf2f
commit fd6e742474
No known key found for this signature in database
GPG Key ID: 119DB3F1D05A9ED3

@ -30,6 +30,7 @@ dependencies() {
esac
}
install() {
set +e
for i in $(eval echo $DEPS); do
$MANAGER_QUERY "$i" &> /dev/null
if [[ $? == 1 ]]; then
@ -42,6 +43,7 @@ dependencies() {
sudo $MANAGER_INSTALL $INSTALL
fi
fi
set -e
}
echo "# Checking Dependencies"

Loading…
Cancel
Save