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

Fix linting warnings

This commit is contained in:
mh4ckt3mh4ckt1c4s 2023-03-02 23:55:02 +01:00
parent 82ce018b41
commit 9eb871ee70
3 changed files with 5 additions and 5 deletions

View file

@ -3,8 +3,8 @@
"id": "searxng", "id": "searxng",
"packaging_format": 1, "packaging_format": 1,
"description": { "description": {
"en": "SearXNG is a free internet metasearch engine which aggregates results from more than 70 search services. Users are neither tracked nor profiled", "en": "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" "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", "version": "2023.02.20.12.17.38~ynh1",
"url": "https://docs.searxng.org/", "url": "https://docs.searxng.org/",
@ -16,7 +16,7 @@
"userdoc": "https://docs.searxng.org/user/", "userdoc": "https://docs.searxng.org/user/",
"code": "https://github.com/searxng/searxng" "code": "https://github.com/searxng/searxng"
}, },
"license": "free", "license": "AGPL-3.0-or-later",
"maintainer": { "maintainer": {
"name": "mh4ckt3mh4ckt1c4s", "name": "mh4ckt3mh4ckt1c4s",
"email": "mh4ckt3mh4ckt1c4s@protonmail.com" "email": "mh4ckt3mh4ckt1c4s@protonmail.com"

View file

@ -80,7 +80,7 @@ ynh_install_app_dependencies $pkg_dependencies
#================================================= #=================================================
# RESTORE THE NGINX CONFIGURATION # 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" ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"

View file

@ -127,7 +127,7 @@ ynh_install_app_dependencies $pkg_dependencies
#================================================= #=================================================
# NGINX CONFIGURATION # 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%/} path_no_root=${path_url%/}
# Create a dedicated NGINX config # Create a dedicated NGINX config