2012-06-28 19:45:03 +02:00
|
|
|
|
#!/bin/bash
|
|
|
|
|
|
2015-08-08 23:31:44 +02:00
|
|
|
|
# give me /usr/local first
|
|
|
|
|
sudo chown -R $USER /usr/local
|
|
|
|
|
|
2014-02-24 17:35:21 +01:00
|
|
|
|
# Install Homebrew
|
2015-07-21 01:23:09 +02:00
|
|
|
|
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
2014-02-24 17:35:21 +01:00
|
|
|
|
|
2012-06-18 21:46:35 +02:00
|
|
|
|
# Make sure we’re using the latest Homebrew
|
|
|
|
|
brew update
|
|
|
|
|
|
|
|
|
|
# Upgrade any already-installed formulae
|
2015-08-08 23:31:44 +02:00
|
|
|
|
brew upgrade --all
|
2012-06-18 21:46:35 +02:00
|
|
|
|
|
|
|
|
|
# Install what we need
|
2015-01-13 16:37:58 +01:00
|
|
|
|
brew install coreutils
|
2014-07-21 11:54:15 +02:00
|
|
|
|
brew install bash
|
2016-10-14 21:59:34 +02:00
|
|
|
|
brew install bash-completion2
|
|
|
|
|
|
|
|
|
|
# Switch to using brew-installed bash as default shell
|
|
|
|
|
if ! fgrep -q '/usr/local/bin/bash' /etc/shells; then
|
|
|
|
|
echo '/usr/local/bin/bash' | sudo tee -a /etc/shells;
|
|
|
|
|
chsh -s /usr/local/bin/bash;
|
|
|
|
|
fi;
|
|
|
|
|
|
2012-06-18 21:46:35 +02:00
|
|
|
|
brew install git
|
2014-05-23 16:34:33 +02:00
|
|
|
|
brew install node
|
2014-01-04 16:03:23 +01:00
|
|
|
|
brew install wget
|
|
|
|
|
brew install gpg2
|
|
|
|
|
brew install imagemagick
|
2014-01-27 18:16:45 +01:00
|
|
|
|
brew install GraphicsMagick
|
2015-07-26 20:38:40 +02:00
|
|
|
|
brew install tor
|
2015-11-03 00:45:25 +01:00
|
|
|
|
brew install gsl
|
2016-11-03 22:23:20 +01:00
|
|
|
|
brew install mas
|
2016-11-03 22:25:16 +01:00
|
|
|
|
brew install rclone
|
2015-08-01 16:23:42 +02:00
|
|
|
|
|
|
|
|
|
# Link gpg to gpg2
|
|
|
|
|
ln -s /usr/local/bin/gpg2 /usr/local/bin/gpg
|
2015-08-08 23:31:44 +02:00
|
|
|
|
|
|
|
|
|
# Remove outdated versions from the cellar.
|
|
|
|
|
brew cleanup
|