Created
July 2, 2011 08:09
-
-
Save ezkl/1059843 to your computer and use it in GitHub Desktop.
Textmate SVN update
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
#!/usr/bin/env bash | |
mkdir -p /Library/Application\ Support/TextMate/ | |
sudo chown -R $(whoami) /Library/Application\ Support/TextMate | |
cd /Library/Application\ Support/TextMate/ | |
if [[ -d Bundles/.svn ]] ; then | |
cd Bundles && svn up | |
else | |
if [[ -d Bundles ]] ; then | |
mv Bundles Bundles.old | |
fi | |
svn co http://svn.textmate.org/trunk/Bundles | |
fi | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment