#!/bin/sh if [ ! -d dnsdiag ]; then git clone https://github.com/farrokhi/dnsdiag.git fi cd dnsdiag git pull cd - cat << HEADER > index.html DNSDiag HEADER cat dnsdiag/README.md >> index.html cat << FOOTER >> index.html FOOTER