Commit efa323ef authored by Ilias Tsitsimpis's avatar Ilias Tsitsimpis
Browse files

deploy: For local command set capture flag to True

fabric: Changed in version 1.0: Changed the default value of capture
from True to False.
parent 8152c146
......@@ -80,7 +80,8 @@ def install_package(package):
env.env.update_packages(host_info.os)
if ast.literal_eval(env.env.use_local_packages):
with settings(warn_only=True):
deb = local("ls %s/%s*%s_all.deb" % (env.env.packages, package, host_info.os))
deb = local("ls %s/%s*%s_all.deb" % (env.env.packages, package, host_info.os),
capture=True)
if deb:
debug(env.host, " * Package %s found in %s..." % (package, env.env.packages))
put(deb, "/tmp/")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment