From d0589b255b59104a0e33f6432725f0b2b7914f4f Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 15 May 2011 15:35:39 +0200 Subject: [PATCH] setup.sh: Only link ~/.gvimrc if GVim is installed. --- setup.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index a8097cd..54ae7a0 100755 --- a/setup.sh +++ b/setup.sh @@ -8,4 +8,6 @@ # Link setup. link vim ~/.vim link vimrc ~/.vimrc -link gvimrc ~/.gvimrc +if installed gvim; then + link gvimrc ~/.gvimrc +fi -- 2.45.2