1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dotclear2_ynh.git synced 2024-09-03 18:26:29 +02:00

List rquired PHP 8.1 deps.

This commit is contained in:
orhtej2 2023-10-03 13:27:39 +02:00
parent b060ccf232
commit 84f1871280
5 changed files with 24 additions and 1 deletions

View file

@ -26,7 +26,7 @@
"multi_instance": true,
"services": [
"nginx",
"php7.3-fpm",
"php8.1-fpm",
"mysql"
],
"arguments": {

View file

@ -4,6 +4,8 @@
# COMMON VARIABLES
#=================================================
pkg_dependencies="php8.1-mbstring php8.1-iconv php8.1-simplexml php8.1-mysqli mariadb-server"
#=================================================
# PERSONAL HELPERS
#=================================================

View file

@ -47,6 +47,13 @@ ynh_app_setting_set --app=$app --key=domain --value=$domain
ynh_app_setting_set --app=$app --key=path --value=$path_url
ynh_app_setting_set --app=$app --key=admin --value=$admin
#=================================================
# INSTALL DEPENDENCIES
#=================================================
ynh_script_progression --message="Installing dependencies..." --weight=1
ynh_install_app_dependencies $pkg_dependencies
#=================================================
# CREATE DEDICATED USER
#=================================================

View file

@ -48,6 +48,13 @@ ynh_script_progression --message="Restoring the NGINX configuration..."
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
#=================================================
# INSTALL DEPENDENCIES
#=================================================
ynh_script_progression --message="Installing dependencies..." --weight=1
ynh_install_app_dependencies $pkg_dependencies
#=================================================
# RECREATE THE DEDICATED USER
#=================================================

View file

@ -129,6 +129,13 @@ if [ -z "$blog_admin" ] ||
ynh_app_setting_set --app=$app --key=blog_blogroll --value=$blog_blogroll
fi
#=================================================
# INSTALL DEPENDENCIES
#=================================================
ynh_script_progression --message="Installing dependencies..." --weight=1
ynh_install_app_dependencies $pkg_dependencies
#=================================================
# CREATE DEDICATED USER
#=================================================