Skip to content
This repository was archived by the owner on Jul 23, 2024. It is now read-only.

Commit ce24269

Browse files
committed
scripts: fix if statement in local.sh
1 parent ef706eb commit ce24269

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

local.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020

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

23-
if [[ "$answer" == "yes" ]]; then
23+
if [[ "$answer" == "y" ]]; then
2424
pip3 install -r requirements.txt
25-
elif [[ "$answer" == "no" ]]; then
25+
elif [[ "$answer" == "n" || "$answer" == "" ]]; then
2626
echo "Skipping requirements installation"
2727
fi
2828

0 commit comments

Comments
 (0)