X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=setup.sh;h=965485cbc6a6d22aadfc32ac7ab073fe5c297fba;hb=71b7c3d3914974cd860814f1e9ba8d7fb4211590;hp=40406ce96b7419169e11c989ef0b0273fc6eb006;hpb=366e3fd35562b2729d4c40c0e006742ae8ceaa0a;p=config%2Fdotfiles.git 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