bug fix: dovecot for cent8

This commit is contained in:
Usman Nasir
2020-06-11 10:27:04 +05:00
parent ce871a2a67
commit e987051066

View File

@@ -1729,6 +1729,13 @@ class Upgrade:
command = "yum update -y"
Upgrade.executioner(command, 0)
if Upgrade.decideCentosVersion() == CENTOS8:
command = 'dnf remove dovecot23 dovecot23-mysql -y'
Upgrade.executioner(command, 0)
command = 'dnf install --enablerepo=gf-plus dovecot23 dovecot23-mysql -y'
Upgrade.executioner(command, 0)
## Remove Default Password Scheme
path = '/etc/dovecot/dovecot-sql.conf.ext'