mirror of
https://github.com/spf13/spf13-vim.git
synced 2024-09-21 07:27:11 +00:00
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:
parent
a856c5d99e
commit
85b69632de
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user