Fix a bug that was preventing a clean install

The installation of the plugin only happened during an update
because the code that checks out the vundle plugin was in the
wrong place.
This commit is contained in:
Fabio Gallonetto 2013-03-20 21:08:28 +00:00
parent 793aa0a0ae
commit e481d0ddf4

View File

@ -86,10 +86,6 @@ task :vundle_migration do
FileUtils.rm_rf(File.join('.git', 'modules', sub_path)) FileUtils.rm_rf(File.join('.git', 'modules', sub_path))
end end
FileUtils.mv(File.join('vim','bundle'), File.join('vim', 'bundle.old')) FileUtils.mv(File.join('vim','bundle'), File.join('vim', 'bundle.old'))
run %{
cd $HOME/.yadr
git clone https://github.com/gmarik/vundle.git #{File.join('vim','bundle', 'vundle')}
}
end end
desc "Runs Vundle installer in a clean vim environment" desc "Runs Vundle installer in a clean vim environment"
@ -108,8 +104,12 @@ task :install_vundle do
puts "Press a key to continue" puts "Press a key to continue"
STDIN.getc STDIN.getc
run %{
cd $HOME/.yadr
git clone https://github.com/gmarik/vundle.git #{File.join('vim','bundle', 'vundle')}
}
Vundle::update_vundle Vundle::update_vundle
end end
task :default => 'install' task :default => 'install'