Update yunohost_tools.py

This commit is contained in:
abeudin 2014-01-06 16:25:01 +01:00
parent 65270dba7b
commit c74a1bdbf3

View file

@ -223,6 +223,7 @@ def tools_postinstall(domain, password, dyndns=False):
os.system('touch /etc/yunohost/light') os.system('touch /etc/yunohost/light')
else: else:
os.system('service dspam stop') os.system('service dspam stop')
os.system('chmod -x /etc/cron.daily/dspam')
os.system('update-rc.d dspam remove') os.system('update-rc.d dspam remove')
os.system('sed -i "s/yes/no/g" /etc/default/dspam') os.system('sed -i "s/yes/no/g" /etc/default/dspam')
os.system('sed -i "s/dspam=no/dspam=yes/" /etc/yunohost/yunohost.conf') os.system('sed -i "s/dspam=no/dspam=yes/" /etc/yunohost/yunohost.conf')