This commit is contained in:
Thomas Forgione 2020-01-31 14:39:42 +01:00
parent a218f16c70
commit 06be3236e3
1 changed files with 2 additions and 2 deletions

View File

@ -143,7 +143,7 @@ clone_dotfiles() {
test_command git
if [ $? -ne 0 ]; then
if [ $sudo_available -ne 0 ]; then
error "git is needed, but you don't have git neither sudo"
error "git is needed, but you don't have git or sudo"
return 1
else
yes_no_ask_required "you'll need git for this, do you wish to install git ?"
@ -267,7 +267,7 @@ configure_shell() {
configure_neovim() {
test_command nvim
if [ $? -ne 0 ] && [ $sudo_available -ne 0 ]; then
warn "you don't have neither sudo nor neovim, skipping neovim configuration"
warn "you don't have sudo or neovim, skipping neovim configuration"
return
fi