mirror of
https://github.com/openSUSE/osc.git
synced 2025-09-06 05:08:42 +02:00
avoid implicit --noinit if extra packages are specified
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user