chore: move _flarum-installed.lock from public/assets to storage

pull/90/head
xxxxxliil 2021-05-26 14:46:51 +08:00
parent a47a8ab49e
commit e72f2623d5
1 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ if [ -f '/flarum/app/extensions/composer.repositories.txt' ]; then
fi
# if installation was performed before
if [ -e '/flarum/app/public/assets/rev-manifest.json' ] || [ -e '/flarum/app/public/assets/._flarum-installed.lock' ] ; then
if [ -e '/flarum/app/public/assets/rev-manifest.json' ] || [ -e '/flarum/app/storage/._flarum-installed.lock' ] ; then
echo "[INFO] Flarum already installed, init app..."
sed -i -e "s|<DEBUG>|${DEBUG}|g" \
@ -119,7 +119,7 @@ else
# Install flarum
su-exec "${UID}:${GID}" php /flarum/app/flarum install --file=/flarum/app/config.yml \
&& touch /flarum/app/public/assets/._flarum-installed.lock
&& touch /flarum/app/storage/._flarum-installed.lock
echo "[INFO] End of flarum installation"
fi