changeset 428:214df22d4d9e

Ensure there's no vim-rails already installed.
author Edho Arief <edho@myconan.net>
date Sat, 29 Dec 2012 21:51:34 +0700
parents c9a2db197010
children f1550e3f0aee
files bin/install-vim-rails
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/install-vim-rails	Sat Dec 29 21:48:31 2012 +0700
+++ b/bin/install-vim-rails	Sat Dec 29 21:51:34 2012 +0700
@@ -5,5 +5,5 @@
 
 (
   cd ~/.vim/bundle
-  git clone git://github.com/tpope/vim-rails.git
+  test -d vim-rails || git clone git://github.com/tpope/vim-rails.git
 )