mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-12-01 06:16:09 +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 "$@"
|