From dc48db88fc22a775b88d2560ea93d174f1046443 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Aime?= Date: Tue, 16 Feb 2021 18:57:10 +0100 Subject: [PATCH] Adding active analysis to the config file --- update.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/update.sh b/update.sh index e1fc6a2..db9b728 100644 --- a/update.sh +++ b/update.sh @@ -62,6 +62,10 @@ elif [ $PWD = "/tmp/tinycheck" ]; then sed -i 's/frontend:/frontend:\n quit_option: true/g' /usr/share/tinycheck/config.yaml fi + if ! grep -q active /usr/share/tinycheck/config.yaml; then + sed -i 's/analysis:/analysis:\n active: true/g' /usr/share/tinycheck/config.yaml + fi + if ! grep -q "CN=R3,O=Let's Encrypt,C=US" /usr/share/tinycheck/config.yaml; then sed -i "s/free_issuers:/free_issuers:\n - CN=R3,O=Let's Encrypt,C=US/g" /usr/share/tinycheck/config.yaml fi