From c2a239a2fa0fec64a494f97b3a9686e3c7e61d54 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Sun, 21 Feb 2021 16:21:48 +0500 Subject: [PATCH] update dovecot to focal on ubuntu 20 --- plogical/upgrade.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/plogical/upgrade.py b/plogical/upgrade.py index 98294a719..5bac2eb0f 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -2169,14 +2169,7 @@ echo $oConfig->Save() ? 'Done' : 'Error'; command = "apt update -y" Upgrade.executioner(command, command) - try: - os.remove('/etc/dovecot/conf.d/10-mail.conf') - os.remove('/etc/dovecot/conf.d/15-mailboxes.conf') - os.remove('/etc/dovecot/conf.d/15-mailboxes.conf') - except: - pass - - command = "apt upgrade -y" + command = 'apt -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" upgrade -y' Upgrade.executioner(command, command)