]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
setup.sh: Only setup colordiff if installed.
authorSimon Ruderich <simon@ruderich.org>
Sun, 7 Mar 2010 20:08:37 +0000 (21:08 +0100)
committerSimon Ruderich <simon@ruderich.org>
Sun, 7 Mar 2010 20:08:37 +0000 (21:08 +0100)
setup.sh

index 4a7c6b6cfc5548b3902eef642a43aac2d362c094..bdd05424e89a77b119f3ab57634fc532426a17d0 100755 (executable)
--- a/setup.sh
+++ b/setup.sh
@@ -29,6 +29,8 @@ link zsh/rc ~/.zshrc
 link zsh/logout ~/.zlogout
 
 # Link setup for additional files.
-link colordiffrc ~/.colordiffrc
+if installed colordiff; then
+    link colordiffrc ~/.colordiffrc
+fi
 link inputrc ~/.inputrc
 link screenrc ~/.screenrc