Skip to content

Commit

Permalink
Fix broken install dependencies if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
rluzuriaga authored Jul 28, 2024
1 parent 6a7cdb4 commit 3b6033f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ function checkDependencies() {
function installDependencies() {
local install_dep=$1

if [[ $install_dep != "y" ]]; then
echo "Exiting now, please install the packages manually."
if [[ $install_dep != "y" && -n $missing_packages ]]; then
echo "Exiting now, please install the packages manually or add the -i or --install-dep flag to install them automatically."
exit 1
fi

Expand Down

0 comments on commit 3b6033f

Please sign in to comment.