Detect vim directory instead of link
This commit is contained in:
parent
8b467dc19b
commit
c125eea4a2
|
@ -30,7 +30,7 @@ fi
|
|||
if [ ! -e ~/.vimrc ]; then
|
||||
echo-g "==> Installing vim rcfiles"
|
||||
|
||||
if [ -h ~/.vim ]; then
|
||||
if [ -d ~/.vim ]; then
|
||||
rm -rf ~/.vim
|
||||
rm ~/.vimrc
|
||||
rm ~/.vimrc.bundles
|
||||
|
|
Loading…
Reference in a new issue