From 9eb871ee70bfe67a477520ee061ac0ccbcaa3f79 Mon Sep 17 00:00:00 2001 From: mh4ckt3mh4ckt1c4s Date: Thu, 2 Mar 2023 23:55:02 +0100 Subject: [PATCH] Fix linting warnings --- manifest.json | 6 +++--- scripts/restore | 2 +- scripts/upgrade | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/manifest.json b/manifest.json index 353ba12..217c991 100644 --- a/manifest.json +++ b/manifest.json @@ -3,8 +3,8 @@ "id": "searxng", "packaging_format": 1, "description": { - "en": "SearXNG is a free internet metasearch engine which aggregates results from more than 70 search services. Users are neither tracked nor profiled", - "fr": "SearXNG est un méta-moteur de recherche qui rassemble les résultats de plus de 70 services de recherche. Les utilisateurs ne sont ni suivis ni espionnés" + "en": "A free internet metasearch engine which aggregates results from more than 70 search services. Users are neither tracked nor profiled", + "fr": "Un méta-moteur de recherche qui rassemble les résultats de plus de 70 services de recherche. Les utilisateurs ne sont ni suivis ni espionnés" }, "version": "2023.02.20.12.17.38~ynh1", "url": "https://docs.searxng.org/", @@ -16,7 +16,7 @@ "userdoc": "https://docs.searxng.org/user/", "code": "https://github.com/searxng/searxng" }, - "license": "free", + "license": "AGPL-3.0-or-later", "maintainer": { "name": "mh4ckt3mh4ckt1c4s", "email": "mh4ckt3mh4ckt1c4s@protonmail.com" diff --git a/scripts/restore b/scripts/restore index 86216a7..e01b1be 100755 --- a/scripts/restore +++ b/scripts/restore @@ -80,7 +80,7 @@ ynh_install_app_dependencies $pkg_dependencies #================================================= # 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 9e3714d..e54de3c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -127,7 +127,7 @@ ynh_install_app_dependencies $pkg_dependencies #================================================= # 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 path_no_root=${path_url%/} # Create a dedicated NGINX config