X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=setup.sh;h=6d94fb7bcc1716e0b58005909966003700d7cf79;hb=56ee1004c09bfc6bd5174b09da3401e28b3dca3b;hp=40406ce96b7419169e11c989ef0b0273fc6eb006;hpb=366e3fd35562b2729d4c40c0e006742ae8ceaa0a;p=config%2Fdotfiles.git diff --git a/setup.sh b/setup.sh index 40406ce..6d94fb7 100755 --- a/setup.sh +++ b/setup.sh @@ -4,10 +4,12 @@ . ../lib.sh # Generate gitconfig. -m4 gitconfig -DHOME=$HOME +m4 gitconfig -DHOME=$HOME -DOS=`os` # 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