Update installer.sh (#137)

Just a small change, "Do you want to proceed with that?" is a bit unclear
This commit is contained in:
Åskar Andersson 2020-12-18 21:52:24 +01:00 committed by GitHub
parent b6e148c971
commit e2a66e35d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -104,7 +104,7 @@ fi
warn "Changes are needed to the /etc/network/interfaces file" warn "Changes are needed to the /etc/network/interfaces file"
info "If you have modified the network on the host manualy, those can now be overwritten" info "If you have modified the network on the host manualy, those can now be overwritten"
info "If you do not overwrite this now you need to manually adjust it later" info "If you do not overwrite this now you need to manually adjust it later"
info "Do you want to proceed with that? [N/y] " info "Do you want to proceed with overwriting the /etc/network/interfaces file? [N/y] "
read answer < /dev/tty read answer < /dev/tty
if [[ "$answer" =~ "y" ]] || [[ "$answer" =~ "Y" ]]; then if [[ "$answer" =~ "y" ]] || [[ "$answer" =~ "Y" ]]; then