is_smooth_update_allowed: strip component from section

ubuntu/rebased
Ivo De Decker 5 years ago
parent 2d34f8220e
commit c2088004f2

@ -764,7 +764,8 @@ def compile_nuninst(target_suite, architectures, nobreakall_arches):
def is_smooth_update_allowed(binary, smooth_updates):
if 'ALL' in smooth_updates:
return True
if binary.section in smooth_updates:
section = binary.section.split('/')[-1]
if section in smooth_updates:
return True
return False

Loading…
Cancel
Save