mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 19:46:07 +01:00
login-inner: fix default choice on bootstrap flakes prompt
This commit is contained in:
parent
5772a879a1
commit
4050f7f992
1 changed files with 2 additions and 2 deletions
|
|
@ -41,10 +41,10 @@ writeText "login-inner" ''
|
|||
|
||||
if [[ "$flakes" =~ ^[Yy]$ ]]; then
|
||||
USE_FLAKE=1
|
||||
elif [[ "$flakes" =~ ^[Nn]$ ]]; then
|
||||
elif [[ "$flakes" =~ ^[Nn]$ || -z "$flakes" ]]; then
|
||||
USE_FLAKE=0
|
||||
else
|
||||
echo "Received invalid input, please try again. $flakes"
|
||||
echo "Received invalid input '$flakes', please try again."
|
||||
fi
|
||||
done
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue