mirror of https://github.com/go-gitea/gitea.git
13 lines
141 B
Smarty
13 lines
141 B
Smarty
|
#!/bin/sh
|
||
|
|
||
|
if [ ! -d "$DIRECTORY" ]; then
|
||
|
mkdir -p $GOGS_CUSTOM_CONF_PATH
|
||
|
|
||
|
echo "
|
||
|
{{ CONFIG }}
|
||
|
" >> $GOGS_CUSTOM_CONF
|
||
|
|
||
|
fi
|
||
|
|
||
|
exec "$@"
|