mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-16 04:22:05 +01:00
bug fix: dovecot for cent8
This commit is contained in:
@@ -1736,6 +1736,11 @@ class Upgrade:
|
||||
command = 'dnf install --enablerepo=gf-plus dovecot23 dovecot23-mysql -y'
|
||||
Upgrade.executioner(command, 0)
|
||||
|
||||
if os.path.exists('/etc/dovecot/dovecot.conf.rpmsave'):
|
||||
if os.path.exists('/etc/dovecot/dovecot.conf'):
|
||||
shutil.move('/etc/dovecot/dovecot.conf', '/etc/dovecot/dovecot.conf.bkcp')
|
||||
shutil.move('/etc/dovecot/dovecot.conf.rpmsave', '/etc/dovecot/dovecot.conf')
|
||||
|
||||
## Remove Default Password Scheme
|
||||
|
||||
path = '/etc/dovecot/dovecot-sql.conf.ext'
|
||||
|
||||
Reference in New Issue
Block a user