wheezy's /bin/ln does not support '-r' parameter

This commit is contained in:
Jan Dittberner 2015-01-27 14:28:21 +01:00
parent 6b8c1710ca
commit 0bd10d23ec

View file

@ -135,7 +135,7 @@ def enable_web_vhost(sitename):
"""
try:
subprocess.check_output([
SUDO_CMD, LN_CMD, '-r', '-s',
SUDO_CMD, LN_CMD, '-s',
_build_vhost_config_path(sitename),
_build_enabled_vhost_path(sitename)],
stderr=subprocess.STDOUT)