mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-21 06:52:06 +01:00
bug fix: dns config reset
This commit is contained in:
@@ -636,13 +636,11 @@ milter_default_action = accept
|
||||
|
||||
command = 'sudo yum install rspamd clamav clamd clamav-update -y'
|
||||
else:
|
||||
command = 'sudo apt-get install rspamd clamav clamav-daemon -y'
|
||||
command = 'DEBIAN_FRONTEND=noninteractive apt-get install rspamd clamav clamav-daemon -y'
|
||||
|
||||
|
||||
cmd = shlex.split(command)
|
||||
|
||||
with open(mailUtilities.RspamdInstallLogPath, 'w') as f:
|
||||
res = subprocess.call(cmd, stdout=f)
|
||||
res = subprocess.call(command, stdout=f, shell=True)
|
||||
|
||||
|
||||
###### makefile
|
||||
|
||||
Reference in New Issue
Block a user