Update setup-deps-mavericks.bash
This commit is contained in:
parent
3e36adfbcb
commit
59e420471b
|
@ -64,13 +64,13 @@ if [ -z "$(which wget | grep wget)" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# http://www.fail2ban.org/wiki/index.php/HOWTO_Mac_OS_X_Server_(10.5)
|
# http://www.fail2ban.org/wiki/index.php/HOWTO_Mac_OS_X_Server_(10.5)
|
||||||
if [ -z "$(which fail2ban-server | grep fail2ban)" ]; then
|
#if [ -z "$(which fail2ban-server | grep fail2ban)" ]; then
|
||||||
if [ -z "${NO_FAIL2BAN}" ]; then
|
# if [ -z "${NO_FAIL2BAN}" ]; then
|
||||||
brew install fail2ban
|
# brew install fail2ban
|
||||||
sudo cp -fv /usr/local/opt/fail2ban/*.plist /Library/LaunchDaemons
|
# sudo cp -fv /usr/local/opt/fail2ban/*.plist /Library/LaunchDaemons
|
||||||
sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.fail2ban.plist
|
# sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.fail2ban.plist
|
||||||
fi
|
# fi
|
||||||
fi
|
#fi
|
||||||
|
|
||||||
if [ -z "$(which pkg-config | grep pkg-config)" ]; then
|
if [ -z "$(which pkg-config | grep pkg-config)" ]; then
|
||||||
echo "installing pkg-config..."
|
echo "installing pkg-config..."
|
||||||
|
|
Loading…
Reference in New Issue