update dovecot to focal on ubuntu 20

This commit is contained in:
Usman Nasir
2021-02-21 17:29:48 +05:00
parent c2a239a2fa
commit 510a4243eb

View File

@@ -2169,8 +2169,14 @@ echo $oConfig->Save() ? 'Done' : 'Error';
command = "apt update -y"
Upgrade.executioner(command, command)
command = 'dpkg --configure -a'
subprocess.call(command, shell=True)
command = 'apt --fix-broken install -y'
subprocess.call(command, shell=True)
command = 'apt -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" upgrade -y'
Upgrade.executioner(command, command)
subprocess.call(command, shell=True)