Skip to content

Commit 9057ad8

Browse files
committed
bug fix: postfix install cent8
1 parent 40abc2e commit 9057ad8

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

install/install.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,9 @@ def install_postfix_davecot(self):
691691
if self.distro == centos:
692692
command = 'yum install --enablerepo=CyberPanel -y postfix3 postfix3-ldap postfix3-mysql postfix3-pcre'
693693
elif self.distro == cent8:
694-
command = 'dnf install postfix3 postfix3-mysql -y '
694+
command = 'dnf --nogpg install -y https://mirror.ghettoforge.org/distributions/gf/el/8/gf/x86_64/gf-release-8-11.gf.el8.noarch.rpm'
695+
696+
command = 'dnf install --enablerepo=gf-plus postfix3 postfix3-mysql -y'
695697
else:
696698
command = 'apt-get -y debconf-utils'
697699
preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR)
@@ -720,7 +722,7 @@ def install_postfix_davecot(self):
720722
if self.distro == centos:
721723
command = 'yum --enablerepo=CyberPanel -y install dovecot dovecot-mysql'
722724
elif self.distro == cent8:
723-
command = 'dnf install dovecot23 dovecot23-mysql -y'
725+
command = 'dnf install --enablerepo=gf-plus dovecot23 dovecot23-mysql -y'
724726
else:
725727
command = 'apt-get -y install dovecot-mysql'
726728

0 commit comments

Comments
 (0)