add pkg-config

this is needed by node-sharp, libvips, and many other libraries
This commit is contained in:
AJ ONeal 2014-12-27 18:10:25 -07:00
parent fa7b6a9725
commit 4c35059267
1 changed files with 2 additions and 2 deletions

View File

@ -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