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:
parent
0728ea096b
commit
70ea8ff9ed
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue