bug fix: dovecot

This commit is contained in:
Usman Nasir
2019-12-18 16:03:52 +05:00
parent 5efbb0aaee
commit 2efbca49ed
2 changed files with 3 additions and 3 deletions

View File

@@ -342,7 +342,7 @@ if [[ $SERVER_OS == "CentOS" ]] ; then
yum install -y wget strace htop net-tools telnet curl which bc telnet htop libevent-devel gcc python-devel libattr-devel xz-devel gpgme-devel mariadb-devel curl-devel python-pip git
fi
if [[ $CENT_8 == "True" ]] ; then
yum install -y wget strace htop net-tools telnet curl which bc telnet htop libevent-devel gcc libattr-devel xz-devel mariadb-devel curl-devel git platform-python-devel
yum install -y wget strace htop net-tools telnet curl which bc telnet htop libevent-devel gcc libattr-devel xz-devel mariadb-devel curl-devel git platform-python-devel tar
dnf --enablerepo=PowerTools install gpgme-devel -y
fi

View File

@@ -771,7 +771,7 @@ enabled=1"""
command = 'yum remove postfix -y'
preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR)
else:
elif self.distro == ubuntu:
command = 'apt-get -y remove postfix'
preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR)
@@ -808,7 +808,7 @@ enabled=1"""
##
if self.distro == centos:
if self.distro == centos or self.distro == cent8:
command = 'yum -y install dovecot dovecot-mysql'
else:
command = 'apt-get -y install dovecot-mysql'