From 71ec6768d74662d503f4b29d4ffb74e4f577fc31 Mon Sep 17 00:00:00 2001 From: Julien Rabier Date: Sat, 30 May 2020 14:48:17 +0200 Subject: [PATCH] test --- deploy_dotfiles.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/deploy_dotfiles.sh b/deploy_dotfiles.sh index c2e9b31..090203a 100755 --- a/deploy_dotfiles.sh +++ b/deploy_dotfiles.sh @@ -1,8 +1,10 @@ #!/bin/bash +MISSING="" + if ! [ -x "$(command -v git)" ]; then echo "git manque et doit être installé" - MISSING+=git + MISSING="${MISSING} git" fi if ! [ -x "$(command -v zsh)" ]; then @@ -17,7 +19,7 @@ fi if ! [ -x "$(command -v exa)" ]; then echo "exa manque et doit être installé" - MISSING+=exa + MISSING="${MISSING} exa" fi if ! [ -x "$(command -v fdfind)" ]; then