Update setup-deps-mavericks.bash

This commit is contained in:
AJ ONeal 2017-05-25 11:15:33 -06:00
parent 3e36adfbcb
commit 59e420471b
1 changed files with 7 additions and 7 deletions

View File

@ -64,13 +64,13 @@ if [ -z "$(which wget | grep wget)" ]; then
fi
# http://www.fail2ban.org/wiki/index.php/HOWTO_Mac_OS_X_Server_(10.5)
if [ -z "$(which fail2ban-server | grep fail2ban)" ]; then
if [ -z "${NO_FAIL2BAN}" ]; then
brew install fail2ban
sudo cp -fv /usr/local/opt/fail2ban/*.plist /Library/LaunchDaemons
sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.fail2ban.plist
fi
fi
#if [ -z "$(which fail2ban-server | grep fail2ban)" ]; then
# if [ -z "${NO_FAIL2BAN}" ]; then
# brew install fail2ban
# sudo cp -fv /usr/local/opt/fail2ban/*.plist /Library/LaunchDaemons
# sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.fail2ban.plist
# fi
#fi
if [ -z "$(which pkg-config | grep pkg-config)" ]; then
echo "installing pkg-config..."