fix(): set chown before installation #38

pull/43/head
Magicalex 2019-10-20 16:45:30 +02:00
parent 92e6c67944
commit ac562f51d1
No known key found for this signature in database
GPG Key ID: A89B48B1788C3CB5
1 changed files with 1 additions and 0 deletions

View File

@ -119,6 +119,7 @@ else
-e "s|<FLARUM_TITLE>|${FLARUM_TITLE}|g" /flarum/app/config.yml
# Install flarum
chown -R $UID:$GID /flarum
su-exec $UID:$GID php /flarum/app/flarum install --file=/flarum/app/config.yml
echo "[INFO] End of flarum installation"