#!/bin/sh README_CONTENT=$(git cat-file blob HEAD:README.md 2>/dev/null) if [ -n "$README_CONTENT" ]; then echo "$README_CONTENT" | pandoc -f markdown -t html -o "$GIT_DIR/README.html" fi git update-server-info