From 4866f1c9d74c418e28ac2eeb3637ee2635e8eaa4 Mon Sep 17 00:00:00 2001 From: Krakinou Date: Thu, 26 Nov 2020 20:24:36 +0100 Subject: [PATCH] Correct package_linter checks --- conf/nginx.conf | 2 +- scripts/restore | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 389e9ed..7414aa6 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -11,7 +11,7 @@ location __PATH__/ { proxy_set_header X-Scheme $scheme; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $connection_upgrade; - more_set_headers X-Frame-Options SAMEORIGIN; + more_set_headers "X-Frame-Options: SAMEORIGIN"; proxy_pass http://localhost:__PORT__/; proxy_set_header Host $host; #proxy_buffering off; diff --git a/scripts/restore b/scripts/restore index 436f226..ad9f96a 100755 --- a/scripts/restore +++ b/scripts/restore @@ -106,7 +106,7 @@ ynh_install_app_dependencies $pkg_dependencies ynh_script_progression --message="Restoring the systemd configuration..." --weight=3 ynh_restore_file --origin_path="/etc/systemd/system/$app.service" -systemctl enable $app.service +systemctl enable $app.service --quiet #================================================= # INTEGRATE SERVICE IN YUNOHOST