From f514d74ae9a0ff47b943379d1b86eb83016f445f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 28 Aug 2023 16:38:40 +0200 Subject: [PATCH] fix linter --- manifest.toml | 8 ++++++-- scripts/install | 5 ----- scripts/remove | 5 ----- scripts/restore | 5 ----- scripts/upgrade | 5 ----- 5 files changed, 6 insertions(+), 22 deletions(-) diff --git a/manifest.toml b/manifest.toml index f20c9ef..f89519d 100644 --- a/manifest.toml +++ b/manifest.toml @@ -17,7 +17,7 @@ admindoc = "http://www.phpldapadmin.org" code = "https://github.com/leenooks/phpLDAPadmin" [integration] -yunohost = ">= 11.1.16" +yunohost = ">= 11.2" architectures = "all" multi_instance = true ldap = true @@ -34,6 +34,10 @@ ram.runtime = "50M" type = "path" default = "/phpldapadmin" + [install.init_main_permission] + type = "group" + default = "visitors" + [install.admin] type = "user" @@ -51,4 +55,4 @@ ram.runtime = "50M" main.url = "/" [resources.apt] - packages ='php7.4-fpm' \ No newline at end of file + packages ='php8.2-fpm' \ No newline at end of file diff --git a/scripts/install b/scripts/install index a221fa8..96f6720 100755 --- a/scripts/install +++ b/scripts/install @@ -28,11 +28,6 @@ ynh_script_progression --message="Configuring PHP-FPM..." --weight=3 # Create a dedicated php-fpm config ynh_add_fpm_config --usage=low --footprint=low -#================================================= -# NGINX CONFIGURATION -#================================================= -ynh_script_progression --message="Configuring NGINX web server..." --weight=2 - # Create a dedicated NGINX config ynh_add_nginx_config diff --git a/scripts/remove b/scripts/remove index 787cb2c..4fb7e3c 100755 --- a/scripts/remove +++ b/scripts/remove @@ -17,11 +17,6 @@ ynh_script_progression --message="Removing NGINX web server configuration..." -- # Remove the dedicated NGINX config ynh_remove_nginx_config -#================================================= -# REMOVE PHP-FPM CONFIGURATION -#================================================= -ynh_script_progression --message="Removing PHP-FPM configuration..." --weight=1 - # Remove the dedicated PHP-FPM config ynh_remove_fpm_config diff --git a/scripts/restore b/scripts/restore index fded87c..1be7eb8 100755 --- a/scripts/restore +++ b/scripts/restore @@ -27,11 +27,6 @@ ynh_script_progression --message="Restoring the PHP-FPM configuration..." --weig ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" -#================================================= -# RESTORE THE NGINX CONFIGURATION -#================================================= -ynh_script_progression --message="Restoring the NGINX web server configuration..." --weight=1 - ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index fa7f474..0b9fd73 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -40,11 +40,6 @@ ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=5 # Create a dedicated PHP-FPM config ynh_add_fpm_config --usage=low --footprint=low -#================================================= -# NGINX CONFIGURATION -#================================================= -ynh_script_progression --message="Upgrading NGINX web server configuration..." --weight=2 - # Create a dedicated NGINX config ynh_add_nginx_config