Chown on plugin repository only if exist

This commit is contained in:
nmaillat
2020-06-29 19:06:43 +02:00
parent 418b8e7ee8
commit 7ee68d0b67

View File

@@ -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 $@