From 11650364cfffa5f536096f04b8d02d07d1e54556 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 2 Jan 2015 12:30:47 -0700 Subject: [PATCH] added missing '[' --- setup-ubuntu.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup-ubuntu.bash b/setup-ubuntu.bash index cca9f25..ab434e9 100644 --- a/setup-ubuntu.bash +++ b/setup-ubuntu.bash @@ -17,7 +17,7 @@ if [ -z "$(which fail2ban-server | grep fail2ban)" ]; then fi # git, wget, curl, build-essential -if [ -z "$(which pkg-config | grep pkg-config)" ] || -z "$(which git | grep git)" ] || [ -z "$(which wget | grep wget)" ] || [ -z "$(which curl | grep curl)" ] || [ -z "$(which gcc | grep gcc)" ] || [ -z "$(which rsync | grep rsync)" ] +if [ -z "$(which pkg-config | grep pkg-config)" ] || [ -z "$(which git | grep git)" ] || [ -z "$(which wget | grep wget)" ] || [ -z "$(which curl | grep curl)" ] || [ -z "$(which gcc | grep gcc)" ] || [ -z "$(which rsync | grep rsync)" ] then echo "installing git, wget, curl, build-essential, rsync, pkg-config..." sudo bash -c "apt-get install -qq -y git wget curl build-essential rsync pkg-config < /dev/null" > /dev/null 2>/dev/null