diff --git a/cyberpanel.sh b/cyberpanel.sh index 629b15a77..5d7b2c80a 100644 --- a/cyberpanel.sh +++ b/cyberpanel.sh @@ -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 diff --git a/install/install.py b/install/install.py index 6bd7d5328..a8a14009f 100755 --- a/install/install.py +++ b/install/install.py @@ -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'