Remove any keyserver log files during upgrades

This commit is contained in:
Bob Mottram 2017-07-30 14:29:10 +01:00
parent 9ce7e29174
commit 0607a26ea8
1 changed files with 6 additions and 0 deletions

View File

@ -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