forked from coolaj86/node-installer.sh
added missing '['
This commit is contained in:
parent
0ecda410e7
commit
11650364cf
|
@ -17,7 +17,7 @@ if [ -z "$(which fail2ban-server | grep fail2ban)" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# git, wget, curl, build-essential
|
# 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
|
then
|
||||||
echo "installing git, wget, curl, build-essential, rsync, pkg-config..."
|
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
|
sudo bash -c "apt-get install -qq -y git wget curl build-essential rsync pkg-config < /dev/null" > /dev/null 2>/dev/null
|
||||||
|
|
Loading…
Reference in New Issue