mirror of
https://github.com/YunoHost-Apps/mautic_ynh.git
synced 2024-09-03 19:36:26 +02:00
commit
05f804ed60
5 changed files with 13 additions and 12 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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": {
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue