mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Download packages only when buildpackage.py was run
This commit is contained in:
parent
e22c000d5c
commit
cb31726500
1 changed files with 3 additions and 2 deletions
|
@ -765,8 +765,9 @@ def run(opts):
|
|||
print(stderr)
|
||||
sys.stderr.flush()
|
||||
|
||||
# Download packages
|
||||
download_packages(opts)
|
||||
# Download packages only if the script ran and was successful
|
||||
if 'Build complete' in stdout:
|
||||
download_packages(opts)
|
||||
|
||||
'''
|
||||
if opts.download_remote_reports:
|
||||
|
|
Loading…
Add table
Reference in a new issue