1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/matomo_ynh.git synced 2024-09-03 19:45:56 +02:00
* Fix upgrade
This commit is contained in:
Éric Gaspar 2021-08-03 00:11:34 +02:00 committed by GitHub
parent 56c4c5ccd9
commit aaf9b4f336
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 7 deletions

View file

@ -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 Open source analytics platform for measuring Web statistics
**Shipped version:** 4.4.1~ynh1 **Shipped version:** 4.4.1~ynh2
**Demo:** https://demo.matomo.org **Demo:** https://demo.matomo.org

View file

@ -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 Plateforme d'analyse open source de mesure de statistiques Web
**Version incluse :** 4.4.1~ynh1 **Version incluse :** 4.4.1~ynh2
**Démo :** https://demo.matomo.org **Démo :** https://demo.matomo.org

View file

@ -6,7 +6,7 @@
"en": "Open source analytics platform for measuring Web statistics", "en": "Open source analytics platform for measuring Web statistics",
"fr": "Plateforme d'analyse open source de mesure de statistiques Web" "fr": "Plateforme d'analyse open source de mesure de statistiques Web"
}, },
"version": "4.4.1~ynh1", "version": "4.4.1~ynh2",
"url": "https://matomo.org", "url": "https://matomo.org",
"upstream": { "upstream": {
"license": "GPL-3.0-or-later", "license": "GPL-3.0-or-later",

View file

@ -110,14 +110,14 @@ then
# Remove the tmp directory securely # Remove the tmp directory securely
ynh_secure_remove --file="$tmpdir" 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 ynh_exec_as $app php${phpversion} $final_path/console core:update -n
fi fi
fi fi
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
#================================================= #=================================================
# NGINX CONFIGURATION # NGINX CONFIGURATION
#================================================= #=================================================