From efa7548513b994a94dbb3137df2c70e80c471d74 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 30 Jul 2017 14:01:58 +0100 Subject: [PATCH] log diffs setting --- src/freedombone-app-keyserver | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/freedombone-app-keyserver b/src/freedombone-app-keyserver index a31cf422..05b51d07 100755 --- a/src/freedombone-app-keyserver +++ b/src/freedombone-app-keyserver @@ -544,6 +544,12 @@ function install_keyserver { sed -i "s|#stat_hour:.*|stat_hour: $((1 + RANDOM % 8))|g" $sksconf_file sed -i "s|stat_hour:.*|stat_hour: $((1 + RANDOM % 8))|g" $sksconf_file fi + if ! grep -q "disable_log_diffs:" $sksconf_file; then + echo "disable_log_diffs:" >> $sksconf_file + else + sed -i "s|#disable_log_diffs:.*|disable_log_diffs:|g" $sksconf_file + sed -i "s|disable_log_diffs:.*|disable_log_diffs:|g" $sksconf_file + fi chown debian-sks: $sksconf_file