1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-25 11:42:12 +01:00

avoid implicit --noinit if extra packages are specified

This commit is contained in:
Adrian Schröter 2019-12-03 15:17:38 +01:00
parent eb7aab1cf7
commit f4bdd3c876

View File

@ -676,7 +676,7 @@ def main(apiurl, opts, argv):
if opts.shell: if opts.shell:
buildargs.append("--shell") buildargs.append("--shell")
if os.path.exists(build_root) and not opts.clean: if os.path.exists(build_root) and not opts.clean and not opts.extra_pkgs:
opts.noinit = True opts.noinit = True
opts.offline = True opts.offline = True