Skip to content

Instantly share code, notes, and snippets.

@ezkl
Created July 2, 2011 08:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ezkl/1059843 to your computer and use it in GitHub Desktop.
Save ezkl/1059843 to your computer and use it in GitHub Desktop.
Textmate SVN update
#!/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