Created
February 7, 2016 07:30
-
-
Save matti/61278dc95e6f720d94fa to your computer and use it in GitHub Desktop.
This file contains 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
#!/usr/bin/env sh | |
brew uninstall postgres | |
launchctl remove homebrew.mxcl.postgresql | |
rm /Users/mpa/Library/LaunchAgents/homebrew.mxcl.postgresql.plist | |
rm -rf /usr/local/var/postgres | |
brew install postgres | |
ln -sfv /usr/local/opt/postgresql/*.plist ~/Library/LaunchAgents | |
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment