From c9b73bc4ad2bfdb678bbc10569cb066c9c82d219 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 3 Aug 2021 07:43:39 +0200 Subject: [PATCH] Testing (#57) * Update upgrade --- README.md | 2 +- README_fr.md | 2 +- manifest.json | 2 +- scripts/upgrade | 7 ++++--- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 95b4275..21b8093 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Open source analytics platform for measuring Web statistics -**Shipped version:** 4.4.1~ynh2 +**Shipped version:** 4.4.1~ynh3 **Demo:** https://demo.matomo.org diff --git a/README_fr.md b/README_fr.md index ca8ae67..78ce9f7 100644 --- a/README_fr.md +++ b/README_fr.md @@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour Plateforme d'analyse open source de mesure de statistiques Web -**Version incluse :** 4.4.1~ynh2 +**Version incluse :** 4.4.1~ynh3 **Démo :** https://demo.matomo.org diff --git a/manifest.json b/manifest.json index db8d93b..8557b28 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Open source analytics platform for measuring Web statistics", "fr": "Plateforme d'analyse open source de mesure de statistiques Web" }, - "version": "4.4.1~ynh2", + "version": "4.4.1~ynh3", "url": "https://matomo.org", "upstream": { "license": "GPL-3.0-or-later", diff --git a/scripts/upgrade b/scripts/upgrade index 05adba4..3b0bee7 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -110,14 +110,15 @@ then # Remove the tmp directory securely ynh_secure_remove --file="$tmpdir" - chmod 750 "$final_path" - chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" - ynh_exec_as $app php${phpversion} $final_path/console core:update -n fi fi +chmod 750 "$final_path" +chmod -R o-rwx "$final_path" +chown -R $app:www-data "$final_path" + #================================================= # NGINX CONFIGURATION #=================================================