mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-22 17:33:12 +00:00
Chown on plugin repository only if exist
This commit is contained in:
@@ -12,8 +12,7 @@ chown -R app:app \
|
|||||||
datas \
|
datas \
|
||||||
tmp \
|
tmp \
|
||||||
logs \
|
logs \
|
||||||
www/thumbnails \
|
www
|
||||||
www/custom
|
|
||||||
|
|
||||||
FILE=config/configuration.yml
|
FILE=config/configuration.yml
|
||||||
|
|
||||||
@@ -48,6 +47,7 @@ if [ ${XDEBUG_ENABLED} == "1" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
./docker/phraseanet/plugins/console init
|
./docker/phraseanet/plugins/console init
|
||||||
|
rm -Rf cache/
|
||||||
|
|
||||||
chown -R app:app \
|
chown -R app:app \
|
||||||
cache \
|
cache \
|
||||||
@@ -55,7 +55,10 @@ chown -R app:app \
|
|||||||
datas \
|
datas \
|
||||||
tmp \
|
tmp \
|
||||||
logs \
|
logs \
|
||||||
www \
|
www
|
||||||
plugins/
|
|
||||||
|
if [ -d "plugins/" ];then
|
||||||
|
chown -R app:app plugin;
|
||||||
|
fi
|
||||||
|
|
||||||
bash -e docker-php-entrypoint $@
|
bash -e docker-php-entrypoint $@
|
||||||
|
Reference in New Issue
Block a user