From 257b5ddff860bfec04214afa753cc0b761216653 Mon Sep 17 00:00:00 2001 From: TC1977 <37350377+TC1977@users.noreply.github.com> Date: Mon, 17 Jun 2019 22:47:32 -0400 Subject: [PATCH] Keep custom dnscrypt-proxy conffile when upgrading --- roles/dns/files/50-dnscrypt-proxy-unattended-upgrades | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/dns/files/50-dnscrypt-proxy-unattended-upgrades b/roles/dns/files/50-dnscrypt-proxy-unattended-upgrades index 632bb318..4c679628 100644 --- a/roles/dns/files/50-dnscrypt-proxy-unattended-upgrades +++ b/roles/dns/files/50-dnscrypt-proxy-unattended-upgrades @@ -2,3 +2,8 @@ Unattended-Upgrade::Allowed-Origins { "LP-PPA-shevchuk-dnscrypt-proxy:${distro_codename}"; }; +// Keep the custom conffile when upgrading +Dpkg::Options { + "--force-confdef"; + "--force-confold"; +};