From f6b4eb12adeb5efab10465878cfdec79b84efcc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 30 Jan 2023 12:11:49 +0100 Subject: [PATCH] Fix linter --- manifest.json | 4 ++-- scripts/restore | 4 ++-- scripts/upgrade | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/manifest.json b/manifest.json index c7971e2..a554084 100644 --- a/manifest.json +++ b/manifest.json @@ -9,12 +9,12 @@ "version": "2.0.0~ynh1", "url": "https://gitlist.org/", "upstream": { - "license": "BSD 3-Clause", + "license": "BSD-3-Clause", "website": "https://gitlist.org/", "admindoc": "https://github.com/klaussilveira/gitlist/wiki", "code": "https://github.com/klaussilveira/gitlist" }, - "license": "BSD 3-Clause", + "license": "BSD-3-Clause", "maintainer": { "name": "eric_G", "email": "" diff --git a/scripts/restore b/scripts/restore index 96ba913..572a4ea 100755 --- a/scripts/restore +++ b/scripts/restore @@ -92,7 +92,7 @@ ynh_install_app_dependencies $pkg_dependencies #================================================= # RESTORE THE PHP-FPM CONFIGURATION #================================================= -ynh_script_progression --message="Restoring the PHP-FPM configuration..." --time --weight=1 +ynh_script_progression --message="Restoring the PHP-FPM configuration..." --weight=1 ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" @@ -102,7 +102,7 @@ ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint --phpversion=$p #================================================= # RESTORE THE NGINX CONFIGURATION #================================================= -ynh_script_progression --message="Restoring the NGINX web server configuration..." --time --weight=1 +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 f7ba3d8..515c1c4 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -117,7 +117,7 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) #================================================= # NGINX CONFIGURATION #================================================= -ynh_script_progression --message="Upgrading NGINX web server configuration..." --time --weight=1 +ynh_script_progression --message="Upgrading NGINX web server configuration..." --weight=1 # Create a dedicated NGINX config ynh_add_nginx_config