Sha256: 79978195a4427fcad653669d9c0084ba80c08e0d6d4a165ccf3282d5b6f06d21

Contents?: true

Size: 474 Bytes

Versions: 4

Compression:

Stored size: 474 Bytes

Contents

#!/bin/bash

# Initialize the wiki
if [ ! -d .git ]; then
    git init
fi

# Set git user.name and user.email
if [ ${GOLLUM_AUTHOR_USERNAME:+1} ]; then
	git config user.name "${GOLLUM_AUTHOR_USERNAME}"
fi
if [ ${GOLLUM_AUTHOR_EMAIL:+1} ]; then
	git config user.email "${GOLLUM_AUTHOR_EMAIL}"
fi

# Start gollum service
[[ "$@" != *--mathjax* ]] && echo "WARNING: Mathjax will soon be disabled by default. To explicitly enable it, use --mathjax" >&2
exec gollum $@ --mathjax

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gollum-5.3.3 docker-run.sh
gollum-5.3.2 docker-run.sh
gollum-5.3.1 docker-run.sh
gollum-5.3.0 docker-run.sh