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.
This commit is contained in:
Martin Grohmann 2013-01-04 12:04:13 +01:00
parent a856c5d99e
commit 85b69632de

View File

@ -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"