mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-28 20:56:11 +01:00
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 "$@"
|