Skip to content

Commit

Permalink
bug fix: postfix install cent8
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed Jun 9, 2020
1 parent 40abc2e commit 9057ad8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions install/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,9 @@ def install_postfix_davecot(self):
if self.distro == centos:
command = 'yum install --enablerepo=CyberPanel -y postfix3 postfix3-ldap postfix3-mysql postfix3-pcre'
elif self.distro == cent8:
command = 'dnf install postfix3 postfix3-mysql -y '
command = 'dnf --nogpg install -y https://mirror.ghettoforge.org/distributions/gf/el/8/gf/x86_64/gf-release-8-11.gf.el8.noarch.rpm'

command = 'dnf install --enablerepo=gf-plus postfix3 postfix3-mysql -y'
else:
command = 'apt-get -y debconf-utils'
preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR)
Expand Down Expand Up @@ -720,7 +722,7 @@ def install_postfix_davecot(self):
if self.distro == centos:
command = 'yum --enablerepo=CyberPanel -y install dovecot dovecot-mysql'
elif self.distro == cent8:
command = 'dnf install dovecot23 dovecot23-mysql -y'
command = 'dnf install --enablerepo=gf-plus dovecot23 dovecot23-mysql -y'
else:
command = 'apt-get -y install dovecot-mysql'

Expand Down

0 comments on commit 9057ad8

Please sign in to comment.