Compare commits
1 Commits
12eea50da9
...
70b82d800e
| Author | SHA1 | Date | |
|---|---|---|---|
| 70b82d800e |
@@ -405,11 +405,11 @@ EOF
|
|||||||
echo "Installing:" "${_pkg_array[@]}"
|
echo "Installing:" "${_pkg_array[@]}"
|
||||||
if [[ -n $_debug ]]; then
|
if [[ -n $_debug ]]; then
|
||||||
if ! _pkg_install "${_pkg_array[@]}"; then
|
if ! _pkg_install "${_pkg_array[@]}"; then
|
||||||
err "Failed to install required package"
|
err "Failed to install package"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
elif ! _pkg_install "${_pkg_array[@]}" > /dev/null 2>&1; then
|
elif ! _pkg_install "${_pkg_array[@]}" > /dev/null 2>&1; then
|
||||||
err "Failed to install dependency."
|
err "Failed to install package."
|
||||||
_printHelpAndExit 1
|
_printHelpAndExit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user