Detect vim directory instead of link

This commit is contained in:
Henrik Lissner 2013-03-22 16:08:02 -04:00
parent 8b467dc19b
commit c125eea4a2

View file

@ -30,7 +30,7 @@ fi
if [ ! -e ~/.vimrc ]; then if [ ! -e ~/.vimrc ]; then
echo-g "==> Installing vim rcfiles" echo-g "==> Installing vim rcfiles"
if [ -h ~/.vim ]; then if [ -d ~/.vim ]; then
rm -rf ~/.vim rm -rf ~/.vim
rm ~/.vimrc rm ~/.vimrc
rm ~/.vimrc.bundles rm ~/.vimrc.bundles