]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
setup.sh: Only link ~/.gvimrc if GVim is installed.
authorSimon Ruderich <simon@ruderich.org>
Sun, 15 May 2011 13:35:39 +0000 (15:35 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sun, 15 May 2011 13:35:39 +0000 (15:35 +0200)
setup.sh

index a8097cd95b62f5b5693aba5f30381e07f66d8016..54ae7a0f916f7def0c1b41d55aa294517aeb86a0 100755 (executable)
--- 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