tor: Enable apt-transport-tor upon install.

This commit is contained in:
James Valleroy 2015-09-01 21:49:26 -04:00 committed by Sunil Mohan Adapa
parent f25ce0216f
commit 787fc22d04

View File

@ -63,6 +63,7 @@ def init():
def on_install():
"""Setup Tor configuration as soon as it is installed."""
actions.superuser_run('tor', ['setup'])
actions.superuser_run('tor', ['enable-apt-transport-tor'])
@package.required(['tor', 'obfsproxy', 'torsocks', 'apt-transport-tor'],