1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/flarum_ynh.git synced 2024-09-03 18:36:24 +02:00

[fix] user commands in upgrade

This commit is contained in:
tituspijean 2020-04-21 08:40:22 +02:00
parent 0728ea096b
commit 70ea8ff9ed

View file

@ -220,7 +220,7 @@ then
# Perform migrations and clear cache # Perform migrations and clear cache
pushd $final_path pushd $final_path
exec_as $app ynh_composer_exec --phpversion=$php_version --workdir=$final_path \ ynh_composer_exec --user=$app --phpversion=$php_version --workdir=$final_path \
--commands="update --prefer-dist --no-dev -a --with-all-dependencies" --commands="update --prefer-dist --no-dev -a --with-all-dependencies"
exec_as $app php$php_version flarum migrate exec_as $app php$php_version flarum migrate
exec_as $app php$php_version flarum cache:clear exec_as $app php$php_version flarum cache:clear