diff --git a/osc/build.py b/osc/build.py index f2d2ae1c..9771acd8 100644 --- a/osc/build.py +++ b/osc/build.py @@ -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