cat the file, not the filename

master
Girish Ramakrishnan 2016-08-26 22:06:35 -07:00
parent d325a602c9
commit 2107563aee
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ sed -e "s/##DOMAIN/${APP_DOMAIN}/g" \
/home/git/app.ini.template > "/run/gogs/app.ini"
# merge any user config file
[[ -f /app/data/app.ini ]] && echo "/app/data/app.ini" >> "/run/gogs/app.ini"
[[ -f /app/data/app.ini ]] && cat "/app/data/app.ini" >> "/run/gogs/app.ini"
mkdir -p /app/data/repository /app/data/ssh