Skip to content

Commit

Permalink
scripts: fix if statement in local.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
tfuxu committed Mar 5, 2023
1 parent ef706eb commit ce24269
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@

read -p "Do you want to install Python requirements? [N/y] " answer

if [[ "$answer" == "yes" ]]; then
if [[ "$answer" == "y" ]]; then
pip3 install -r requirements.txt
elif [[ "$answer" == "no" ]]; then
elif [[ "$answer" == "n" || "$answer" == "" ]]; then
echo "Skipping requirements installation"
fi

Expand Down

0 comments on commit ce24269

Please sign in to comment.