1
0
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:
103yiran 2020-02-18 19:16:48 +08:00 committed by GitHub
parent dbcdace7be
commit 162f6e60da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,6 +77,8 @@ def download_extract_replace(plugin_name, zip_path, temp_dir, source_dir):
plugin_temp_path = path.join(
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
plugin_dest_path = path.join(source_dir, plugin_name)