Mercurial > hg > config
comparison python/install_config.py @ 174:492ec7e2d46e
correct mistake
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Sun, 23 Oct 2011 20:44:43 -0700 |
parents | 61282540f7c7 |
children | e4221e45d6c1 |
comparison
equal
deleted
inserted
replaced
173:61282540f7c7 | 174:492ec7e2d46e |
---|---|
19 ['hg', 'pull', SRC], | 19 ['hg', 'pull', SRC], |
20 ['hg', 'update', '-C'], | 20 ['hg', 'update', '-C'], |
21 | 21 |
22 # get virtual env | 22 # get virtual env |
23 ['hg', 'clone', 'http://bitbucket.org/ianb/virtualenv'], | 23 ['hg', 'clone', 'http://bitbucket.org/ianb/virtualenv'], |
24 ['ln' '-s', HOME + '/virtualenv/virtualenv.py', HOME + '/bin/'], | 24 ['ln', '-s', HOME + '/virtualenv/virtualenv.py', HOME + '/bin/'], |
25 | 25 |
26 # site-specific files | 26 # site-specific files |
27 ['mkdir', '-p', '.subversion'], | 27 ['mkdir', '-p', '.subversion'], |
28 ['rm', '-f', '.subversion/config'], | 28 ['rm', '-f', '.subversion/config'], |
29 ['ln', '-s', os.path.join(HOME, '.subversion_config/config'), os.path.join(HOME, '.subversion/config')], | 29 ['ln', '-s', os.path.join(HOME, '.subversion_config/config'), os.path.join(HOME, '.subversion/config')], |
64 ] | 64 ] |
65 execute(*postinstall_commands) | 65 execute(*postinstall_commands) |
66 | 66 |
67 | 67 |
68 # - ubuntu packages to install: | 68 # - ubuntu packages to install: |
69 PACKAGES="unison fluxbox antiword xclip graphviz python-dev python-lxml curl arandr" | 69 PACKAGES="mercurial unison fluxbox antiword xclip graphviz python-dev python-lxml curl arandr" |
70 print "Ensure the following packages are installed:" | 70 print "Ensure the following packages are installed:" |
71 print "sudo apt-get install $PACKAGES" | 71 print "sudo apt-get install $PACKAGES" |
72 | 72 |
73 # setup git's global ignore, since git is silly about this and doesn't look for the file in the right place | 73 # setup git's global ignore, since git is silly about this and doesn't look for the file in the right place |
74 subprocess.call('if which git; then git config --global core.excludesfile ~/.gitignore; fi', shell=True) | 74 subprocess.call('if which git; then git config --global core.excludesfile ~/.gitignore; fi', shell=True) |