From 162f6e60da6d3b150aa30aece7122fdcc274ae79 Mon Sep 17 00:00:00 2001 From: 103yiran <1039105206@qq.com> Date: Tue, 18 Feb 2020 19:16:48 +0800 Subject: [PATCH] deal with package name mismatch --- update_plugins.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/update_plugins.py b/update_plugins.py index 5e14e899..d58262a3 100644 --- a/update_plugins.py +++ b/update_plugins.py @@ -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)