From 6b40d7802c1a969717cfdede1e6e6512d787b72f Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 7 Mar 2010 21:08:37 +0100 Subject: [PATCH] setup.sh: Only setup colordiff if installed. --- setup.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.45.2