pull/115/merge
Arthur Templé 2023-01-23 12:15:29 +00:00 committed by GitHub
commit e07feabbee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -79,7 +79,6 @@ if [ -e '/flarum/app/public/assets/rev-manifest.json' ] || [ -e '/flarum/app/pub
-e "s|<FORUM_URL>|${FORUM_URL}|g" /flarum/app/config.php.sample
cp -p /flarum/app/config.php.sample /flarum/app/config.php
su-exec "${UID}:${GID}" php /flarum/app/flarum cache:clear
# Download extra extensions installed with composer wrapup script
if [ -s "${LIST_FILE}" ]; then
@ -94,6 +93,8 @@ if [ -e '/flarum/app/public/assets/rev-manifest.json' ] || [ -e '/flarum/app/pub
echo "[INFO] No installed extensions"
fi
su-exec "${UID}:${GID}" php /flarum/app/flarum cache:clear
echo "[INFO] Flarum already installed, init app: DONE"
else
# if no installation was performed before