From 34380350ab6a9207aa210cf8bdc23618d10b0fff Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 7 Mar 2010 15:16:25 +0100 Subject: [PATCH 1/1] setup.sh: Only create git configs when it's available. --- setup.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index d070085..d13b36f 100755 --- a/setup.sh +++ b/setup.sh @@ -5,8 +5,10 @@ . ../lib.sh -generate m4 gitconfig -DGITIGNORE=`pwd`/gitignore -DOS=`os` -link gitconfig ~/.gitconfig +if installed git; then + generate m4 gitconfig -DGITIGNORE=`pwd`/gitignore -DOS=`os` + link gitconfig ~/.gitconfig +fi if installed tig; then link tigrc ~/.tigrc -- 2.44.2