Skip to content

Commit

Permalink
Fix yes/no option in apply script (x86_64-darwin)
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinlyons authored Jul 3, 2024
1 parent c85701a commit d998129
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/x86_64-darwin/apply
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ confirm_details() {
_prompt "${YELLOW}Is this correct? yes/no: ${NC}" choice

case "$choice" in
[Nn] ) _print "${RED}Exiting script.${NC}" && exit 1;;
[Yy] ) _print "${GREEN}Continuing...${NC}";;
[Nn] | [Nn][Oo] ) _print "${RED}Exiting script.${NC}" && exit 1;;
[Yy] | [Yy][Ee][Ss] ) _print "${GREEN}Continuing...${NC}";;
* ) _print "${RED}Invalid option. Exiting script.${NC}" && exit 1;;
esac
}
Expand Down

0 comments on commit d998129

Please sign in to comment.