Last active
August 29, 2015 14:08
-
-
Save jgeo/f9d21fa013085bfee7f2 to your computer and use it in GitHub Desktop.
Upgrade to Yosemite Script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo 'Updating xcode command line tools' | |
| xcode-select --install | |
| echo 'Updating Homebrew' | |
| brew uninstall postgresql | |
| brew uninstall postgresql91 | |
| brew uninstall postgis | |
| brew uninstall proj | |
| brew uninstall geos | |
| sudo brew prune | |
| cd `brew --cellar` | |
| git reset --hard HEAD | |
| brew update | |
| brew install proj | |
| brew tap homebrew/versions | |
| brew install postgresql91 | |
| brew upgrade | |
| launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.redis.plist | |
| launchctl load ~/Library/LaunchAgents/homebrew.mxcl.redis.plist | |
| echo 'Reverting to Postgis 1.5.3 and Postgresql 9.1.13' | |
| brew install https://gist.githubusercontent.com/jgeo/8e99d19b4bb25bd8c8f5/raw/postgis.rb | |
| mkdir -p /usr/local/var/postgres/{pg_tblspc,pg_twophase,pg_stat_tmp}/ | |
| touch /usr/local/var/postgres/{pg_tblspc,pg_twophase,pg_stat_tmp}/.keep | |
| pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start | |
| brew install geos | |
| echo 'Updating Vim' | |
| sh ~/.vim/bin/upgrade |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment