changeset 22:8da594377f18

updates so installation wont break if no .subversion directory
author k0s <k0scist@gmail.com>
date Mon, 01 Mar 2010 13:12:40 -0500
parents 099a3bfa2852
children ecc21877c165
files python/install_config.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/python/install_config.py	Fri Feb 26 13:19:14 2010 -0500
+++ b/python/install_config.py	Mon Mar 01 13:12:40 2010 -0500
@@ -19,7 +19,8 @@
              ['hg', 'update', '-C'],
 
              # site-specific files
-             ['rm', '.subversion/config'],
+             ['mkdir', '-p', '.subversion'],
+             ['rm', '-f', '.subversion/config'],
              ['ln', '-s', os.path.join(HOME, '.subversion_config/config'), os.path.join(HOME, '.subversion/config')],
              ]