Lines 181-187
Link Here
|
181 |
if can_continue: |
181 |
if can_continue: |
182 |
def _thread(module, application, function): |
182 |
def _thread(module, application, function): |
183 |
with module.package_manager.locked(reset_status=True, set_finished=True): |
183 |
with module.package_manager.locked(reset_status=True, set_finished=True): |
184 |
with module.package_manager.no_umc_restart(): |
184 |
with module.package_manager.no_umc_restart(exclude_apache=True): |
185 |
if function in ('install', 'update'): |
185 |
if function in ('install', 'update'): |
186 |
# dont have to add component: already added during dry_run |
186 |
# dont have to add component: already added during dry_run |
187 |
return application.install(module.package_manager, module.component_manager, add_component=False) |
187 |
return application.install(module.package_manager, module.component_manager, add_component=False) |