From 4c350592670a2fd95a91b79ab191e49c9d99b20b Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 27 Dec 2014 18:10:25 -0700 Subject: [PATCH] add pkg-config this is needed by node-sharp, libvips, and many other libraries --- setup-ubuntu.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup-ubuntu.bash b/setup-ubuntu.bash index cc81f45..ba32d3e 100644 --- a/setup-ubuntu.bash +++ b/setup-ubuntu.bash @@ -17,10 +17,10 @@ if [ -z "$(which fail2ban-server | grep fail2ban)" ]; then fi # git, wget, curl, build-essential -if [ -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..." - sudo bash -c "apt-get install -qq -y git wget curl build-essential rsync < /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 fi # node