if [ ! -f etc/mercurial/hgrc ]; then mkdir -p etc/mercurial cat > etc/mercurial/hgrc << "EOF" [web] cacerts = /etc/ssl/ca-bundle.crt EOF fi