From 85b69632de71beb730acc201bbd5ad208b401f43 Mon Sep 17 00:00:00 2001 From: Martin Grohmann Date: Fri, 4 Jan 2013 12:04:13 +0100 Subject: [PATCH] symlink override this fixes the Issue #260. https://github.com/spf13/spf13-vim/issues/260 If a old symlink of .vimrc exists the new symlink is created by force. --- bootstrap.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bootstrap.sh b/bootstrap.sh index 1e82b9a..9f335e5 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -15,6 +15,9 @@ lnif() { if [ ! -e $2 ] ; then ln -s $1 $2 fi + if [ -L $2 ] ; then + ln -sf $1 $2 + fi } echo "Thanks for installing spf13-vim"