From: Simon Ruderich Date: Sun, 15 May 2011 13:35:39 +0000 (+0200) Subject: setup.sh: Only link ~/.gvimrc if GVim is installed. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=d0589b255b59104a0e33f6432725f0b2b7914f4f;p=config%2Fdotfiles.git setup.sh: Only link ~/.gvimrc if GVim is installed. --- 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