diff --git a/install/install.py b/install/install.py index 8d7d6df38..9ed6add0a 100755 --- a/install/install.py +++ b/install/install.py @@ -691,7 +691,7 @@ class preFlightsChecks: if self.distro == centos: command = 'yum install --enablerepo=CyberPanel -y postfix3 postfix3-ldap postfix3-mysql postfix3-pcre' elif self.distro == cent8: - command = 'dnf --enablerepo=CyberPanel install postfix3 postfix3-mysql -y ' + command = 'dnf install postfix3 postfix3-mysql -y ' else: command = 'apt-get -y debconf-utils' preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR) @@ -720,7 +720,7 @@ class preFlightsChecks: if self.distro == centos: command = 'yum --enablerepo=CyberPanel -y install dovecot dovecot-mysql' elif self.distro == cent8: - command = 'dnf --enablerepo=CyberPanel install dovecot23 dovecot23-mysql -y' + command = 'dnf install dovecot23 dovecot23-mysql -y' else: command = 'apt-get -y install dovecot-mysql' @@ -1722,7 +1722,7 @@ imap_folder_list_limit = 0 if self.distro == centos: command = 'yum -y install opendkim' elif self.distro == cent8: - command = 'dnf --enablerepo=CyberPanel install opendkim -y' + command = 'dnf install opendkim -y' else: command = 'apt-get -y install opendkim' @@ -1947,7 +1947,7 @@ milter_default_action = accept if self.distro == centos: command = 'yum --enablerepo=CyberPanel install restic -y' else: - command = 'dnf --enablerepo=CyberPanel install restic -y --nogpgcheck' + command = 'dnf install restic -y --nogpgcheck' preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR) else: diff --git a/install/installCyberPanel.py b/install/installCyberPanel.py index ec9bd9974..aa9546c5f 100755 --- a/install/installCyberPanel.py +++ b/install/installCyberPanel.py @@ -238,7 +238,7 @@ class InstallCyberPanel: elif self.distro == centos: command = 'yum --enablerepo=CyberPanel -y install mariadb-server' elif self.distro == cent8: - command = 'dnf --enablerepo=CyberPanel -y install mariadb-server' + command = 'dnf -y install mariadb-server' install.preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR) @@ -373,7 +373,7 @@ class InstallCyberPanel: command = "yum install -y pure-ftpd" install.preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR) elif self.distro == cent8: - command = 'dnf --enablerepo=CyberPanel install pure-ftpd -y' + command = 'dnf install pure-ftpd -y' install.preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR)