1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pluxml_ynh.git synced 2024-09-03 20:16:02 +02:00

fix upgrade

This commit is contained in:
antoine 2020-07-23 16:57:37 +02:00
parent 767b784a51
commit 3f595486e2
2 changed files with 6 additions and 5 deletions

View file

@ -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

View file

@ -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