Skip to content

Commit

Permalink
Default to Y
Browse files Browse the repository at this point in the history
  • Loading branch information
nileane committed Oct 19, 2024
1 parent 5dd1b6a commit 5776a94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion install.sh.example
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ confirm_path() {
local prompt_message="$2"

echo "$prompt_message: $path"
read -p "Is this path correct? (y/n): " response
read -p "Is this path correct? (Y/n): " response
response=${response:-y}
case "$response" in
[Yy]* ) echo "Path confirmed.";;
[Nn]* ) echo "Please update the path in the script."; exit 1;;
Expand Down

0 comments on commit 5776a94

Please sign in to comment.