1
0
Fork 0
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:
yalh76 2020-06-12 20:18:09 +02:00 committed by tituspijean
parent 62411b470a
commit a3b0c8ce07

View file

@ -206,11 +206,13 @@ ynh_add_swap --size=$swap_needed
if [ "$upgrade_type" == "UPGRADE_APP" ] if [ "$upgrade_type" == "UPGRADE_APP" ]
then then
ynh_script_progression --message="Installing composer dependencies..."
# Set right permissions # Set right permissions
chown -R $app:www-data $final_path chown -R $app:www-data $final_path
# Install Composer and Flarum # 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 # Perform migrations and clear cache
pushd $final_path pushd $final_path