1
0
mirror of https://github.com/amix/vimrc synced 2025-07-05 23:44:59 +08:00

updated + final

This commit is contained in:
bood
2013-08-18 09:13:27 +02:00
parent a7345844a0
commit c4fd1d1d3f
2 changed files with 12 additions and 13 deletions

View File

@ -38,8 +38,7 @@ vim-surround https://github.com/tpope/vim-surround
GITHUB_ZIP = '%s/archive/master.zip'
SOURCE_DIR = path.join( path.dirname(__file__), 'sources_non_forked' )
SOURCE_DIR = path.join(path.dirname(__file__), 'sources_non_forked')
def download_extract_replace(plugin_name, zip_path, temp_dir, source_dir):
@ -53,7 +52,7 @@ def download_extract_replace(plugin_name, zip_path, temp_dir, source_dir):
zip_f.extractall(temp_dir)
plugin_temp_path = path.join(temp_dir,
path.join(temp_dir, '%s-master' % plugin_name))
path.join(temp_dir, '%s-master' % plugin_name))
# Remove the current plugin and replace it with the extracted
plugin_dest_path = path.join(source_dir, plugin_name)