Skip to content

Commit

Permalink
Try again
Browse files Browse the repository at this point in the history
  • Loading branch information
almirsarajcic committed Sep 18, 2024
1 parent acfa198 commit 3bcb1ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
10 changes: 1 addition & 9 deletions priv/static/Linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -222,15 +222,7 @@ is_yn() {
answer=''

while ! is_yn "$answer"; do
case $current_shell in
"bash" | "rbash")
read -p "Do you want to continue? (y/n) " answer
;;
"zsh")
read "answer?Do you want to continue? (y/n) "
;;
esac

read -p "Do you want to continue? (y/n) " answer
echo ""
case "$answer" in
[yY] | [yY][eE][sS])
Expand Down
10 changes: 1 addition & 9 deletions priv/static/macOS.sh
Original file line number Diff line number Diff line change
Expand Up @@ -243,15 +243,7 @@ is_yn() {
answer=''

while ! is_yn "$answer"; do
case $current_shell in
"bash" | "rbash")
read -p "Do you want to continue? (y/n) " answer
;;
"zsh")
read "answer?Do you want to continue? (y/n) "
;;
esac

read -p "Do you want to continue? (y/n) " answer
echo ""
case "$answer" in
[yY] | [yY][eE][sS])
Expand Down

0 comments on commit 3bcb1ed

Please sign in to comment.