diff --git a/check_process b/check_process index feda54f..e9f3e36 100644 --- a/check_process +++ b/check_process @@ -19,8 +19,8 @@ setup_private=1 setup_public=1 upgrade=1 - # 5.7 - upgrade=1 from_commit=0595d7bb0ffc224508c52ec5952125d77c4200e8 + # 5.7~ynh1 + upgrade=1 from_commit=f618522e430dfcb63e1a5843535cf0da165025f3 backup_restore=1 multi_instance=1 # This test is no longer necessary since the version 2.7 (PR: https://github.com/YunoHost/yunohost/pull/304), you can still do it if your app could be installed with this version. @@ -34,6 +34,6 @@ Email= Notification=none ;;; Upgrade options - ; commit=0595d7bb0ffc224508c52ec5952125d77c4200e8 - name=5.7 + ; commit=f618522e430dfcb63e1a5843535cf0da165025f3 + name=5.7~ynh1 diff --git a/scripts/upgrade b/scripts/upgrade index 6c0b9f1..e5967b3 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -116,7 +116,8 @@ ynh_add_fpm_config #================================================= ynh_script_progression --message="Setting up application with CURL..." -ynh_local_curl "/update/index.php" "submit=Démarrer la mise à jour" +chown -R "$app":"$app" $final_path +ynh_local_curl "/update/index.php" "submit=submit" #================================================= # REMOVING NO MORE NEEDED FILES