Update if/then style

This commit is contained in:
Mike Thomas 2018-12-10 15:16:47 +00:00
parent a17d8616fb
commit 77c1b6eff0

View file

@ -19,8 +19,7 @@ fi
# Configure the tiddlywiki to be served on a path if it is given
WEBHOST_TID=/var/lib/tiddlywiki/mywiki/tiddlers/\$__config_tiddlyweb_host.tid
if [ -n "${SERVE_URI}" ]
then
if [ -n "${SERVE_URI}" ]; then
cp /tiddlyweb_host_template ${WEBHOST_TID}
echo '$protocol$//$host$'${SERVE_URI}"/" >> ${WEBHOST_TID}
echo "tiddlywiki will be served at ${SERVE_URI}"