From 0607a26ea8962e83d9368b4adcf59697729bfef5 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 30 Jul 2017 14:29:10 +0100 Subject: [PATCH] Remove any keyserver log files during upgrades --- src/freedombone-upgrade | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/freedombone-upgrade b/src/freedombone-upgrade index 46598f52..cc1e7da3 100755 --- a/src/freedombone-upgrade +++ b/src/freedombone-upgrade @@ -67,6 +67,12 @@ fi update-ca-certificates +# remove any keyserver log files +if [ -d /var/lib/sks/DB ]; then + cd /var/lib/sks/DB + db_archive -d +fi + if [ ! -d $PROJECT_DIR ]; then git_clone $PROJECT_REPO $PROJECT_DIR fi