mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-25 03:32:15 +01:00
avoid implicit --noinit if extra packages are specified
This commit is contained in:
parent
eb7aab1cf7
commit
f4bdd3c876
@ -676,7 +676,7 @@ def main(apiurl, opts, argv):
|
||||
|
||||
if opts.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.offline = True
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user