Skip to content

Commit c85701a

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/x86_64-linux/apply

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

122122
case "$choice" in
123-
[Nn] ) _print "${RED}Exiting script.${NC}" && exit 1;;
124-
[Yy] ) _print "${GREEN}Continuing...${NC}";;
123+
[Nn] | [Nn][Oo] ) _print "${RED}Exiting script.${NC}" && exit 1;;
124+
[Yy] | [Yy][Ee][Ss] ) _print "${GREEN}Continuing...${NC}";;
125125
* ) _print "${RED}Invalid option. Exiting script.${NC}" && exit 1;;
126126
esac
127127
}

0 commit comments

Comments
 (0)