Skip to content

Commit d998129

Browse files
authored
Fix yes/no option in apply script (x86_64-darwin)
1 parent c85701a commit d998129

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/x86_64-darwin/apply

+2-2
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@ confirm_details() {
191191
_prompt "${YELLOW}Is this correct? yes/no: ${NC}" choice
192192

193193
case "$choice" in
194-
[Nn] ) _print "${RED}Exiting script.${NC}" && exit 1;;
195-
[Yy] ) _print "${GREEN}Continuing...${NC}";;
194+
[Nn] | [Nn][Oo] ) _print "${RED}Exiting script.${NC}" && exit 1;;
195+
[Yy] | [Yy][Ee][Ss] ) _print "${GREEN}Continuing...${NC}";;
196196
* ) _print "${RED}Invalid option. Exiting script.${NC}" && exit 1;;
197197
esac
198198
}

0 commit comments

Comments
 (0)