empty string
This commit is contained in:
parent
f821a5da53
commit
bf9761d07c
@ -6,8 +6,9 @@ NEXUS_HOME=$HOME/.nexus
|
|||||||
while [ -z "$NONINTERACTIVE" ]; do
|
while [ -z "$NONINTERACTIVE" ]; do
|
||||||
read -p "Do you agree to the Nexus Beta Terms of Use (https://nexus.xyz/terms-of-use)? (Y/n) " yn </dev/tty
|
read -p "Do you agree to the Nexus Beta Terms of Use (https://nexus.xyz/terms-of-use)? (Y/n) " yn </dev/tty
|
||||||
case $yn in
|
case $yn in
|
||||||
[Yy]* ) break;;
|
|
||||||
[Nn]* ) exit;;
|
[Nn]* ) exit;;
|
||||||
|
[Yy]* ) break;;
|
||||||
|
"" ) break;;
|
||||||
* ) echo "Please answer yes or no.";;
|
* ) echo "Please answer yes or no.";;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user