From 015884081994883875330e9d81218f0c2eb92288 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Mon, 23 Feb 2009 11:57:30 -0600 Subject: [PATCH] Only create links for mercurial if it's installed. --- setup.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index 40406ce..965485c 100755 --- a/setup.sh +++ b/setup.sh @@ -9,5 +9,7 @@ m4 gitconfig -DHOME=$HOME # Link setup. link gitconfig ~/.gitconfig link gitignore ~/.gitignore -link hgrc ~/.hgrc -link hgignore ~/.hgignore +if installed hg; then + link hgrc ~/.hgrc + link hgignore ~/.hgignore +fi -- 2.45.2