1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mautic_ynh.git synced 2024-09-03 19:36:26 +02:00

Merge pull request #21 from YunoHost-Apps/testing

Testing
This commit is contained in:
Éric Gaspar 2022-05-22 08:02:35 +02:00 committed by GitHub
commit 05f804ed60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 13 additions and 12 deletions

View file

@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Open Source Marketing Automation Software
**Shipped version:** 4.2.2~ynh1
**Shipped version:** 4.2.2~ynh2
**Demo:** https://www.mautic.org/demo

View file

@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
Logiciel d'automatisation marketing open source
**Version incluse :** 4.2.2~ynh1
**Version incluse :** 4.2.2~ynh2
**Démo :** https://www.mautic.org/demo

View file

@ -6,7 +6,7 @@
"en": "Open Source Marketing Automation Software",
"fr": "Logiciel d'automatisation marketing open source"
},
"version": "4.2.2~ynh1",
"version": "4.2.2~ynh2",
"url": "https://www.mautic.org/",
"upstream": {
"license": "GPL-3.0-only",
@ -26,7 +26,7 @@
"multi_instance": true,
"services": [
"nginx",
"php7.4-fpm",
"php8.0-fpm",
"mysql"
],
"arguments": {

View file

@ -4,9 +4,10 @@
# COMMON VARIABLES
#=================================================
YNH_PHP_VERSION="7.4"
YNH_PHP_VERSION="8.0"
pkg_dependencies="php${YNH_PHP_VERSION}-imap php${YNH_PHP_VERSION}-gmp php${YNH_PHP_VERSION}-curl php${YNH_PHP_VERSION}-intl php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-xmlrpc php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-bcmath php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-cli php${YNH_PHP_VERSION}-zip"
#=================================================
# PERSONAL HELPERS
#=================================================

View file

@ -74,13 +74,6 @@ chmod -R g+w $final_path/media/files/
chmod -R g+w $final_path/media/images/
chmod -R g+w $final_path/translations/
#=================================================
# RESTORE THE PHP-FPM CONFIGURATION
#=================================================
ynh_script_progression --message="Restoring the PHP-FPM configuration..." --weight=1
ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
#=================================================
# REINSTALL DEPENDENCIES
#=================================================
@ -89,6 +82,13 @@ ynh_script_progression --message="Reinstalling dependencies..." --weight=1
# Define and install dependencies
ynh_install_app_dependencies $pkg_dependencies
#=================================================
# RESTORE THE PHP-FPM CONFIGURATION
#=================================================
ynh_script_progression --message="Restoring the PHP-FPM configuration..." --weight=1
ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
#=================================================
# RESTORE THE MYSQL DATABASE
#=================================================