From: Simon Ruderich Date: Sun, 7 Mar 2010 20:08:37 +0000 (+0100) Subject: setup.sh: Only setup colordiff if installed. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=6b40d7802c1a969717cfdede1e6e6512d787b72f;p=config%2Fdotfiles.git setup.sh: Only setup colordiff if installed. --- diff --git a/setup.sh b/setup.sh index 4a7c6b6..bdd0542 100755 --- 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