mirror of
https://github.com/YunoHost-Apps/flarum_ynh.git
synced 2024-09-03 18:36:24 +02:00
fix upgrade
This commit is contained in:
parent
62411b470a
commit
a3b0c8ce07
1 changed files with 3 additions and 1 deletions
|
@ -206,11 +206,13 @@ ynh_add_swap --size=$swap_needed
|
|||
|
||||
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||
then
|
||||
ynh_script_progression --message="Installing composer dependencies..."
|
||||
|
||||
# Set right permissions
|
||||
chown -R $app:www-data $final_path
|
||||
|
||||
# Install Composer and Flarum
|
||||
ynh_install_composer --user=$app --phpversion=$phpversion --workdir=$final_path
|
||||
ynh_install_composer --phpversion=$phpversion --workdir=$final_path
|
||||
|
||||
# Perform migrations and clear cache
|
||||
pushd $final_path
|
||||
|
|
Loading…
Reference in a new issue