mirror of
https://github.com/amix/vimrc
synced 2025-02-28 14:12:51 +08:00
deal with package name mismatch
This commit is contained in:
parent
dbcdace7be
commit
162f6e60da
@ -77,6 +77,8 @@ def download_extract_replace(plugin_name, zip_path, temp_dir, source_dir):
|
|||||||
|
|
||||||
plugin_temp_path = path.join(
|
plugin_temp_path = path.join(
|
||||||
temp_dir, path.join(temp_dir, '%s-master' % plugin_name))
|
temp_dir, path.join(temp_dir, '%s-master' % plugin_name))
|
||||||
|
if plugin_name =='gist-vim':
|
||||||
|
plugin_temp_path=plugin_temp_path.replace('gist-vim', 'vim-gist')
|
||||||
|
|
||||||
# Remove the current plugin and replace it with the extracted
|
# Remove the current plugin and replace it with the extracted
|
||||||
plugin_dest_path = path.join(source_dir, plugin_name)
|
plugin_dest_path = path.join(source_dir, plugin_name)
|
||||||
|
Loading…
Reference in New Issue
Block a user