diff --git a/install/installCyberPanel.py b/install/installCyberPanel.py index 6d180848a..900c4c8f4 100755 --- a/install/installCyberPanel.py +++ b/install/installCyberPanel.py @@ -330,13 +330,16 @@ class InstallCyberPanel: def installPureFTPD(self): if self.distro == ubuntu: - command = 'apt install pure-ftpd-mysql -y' + command = 'DEBIAN_FRONTEND=noninteractive apt install pure-ftpd-mysql -y' + os.system(command) elif self.distro == centos: 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' + install.preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR) + - install.preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR) ####### Install pureftpd to system startup