Ansgar pushed to branch master at Debian FTP Team / dak
Commits:
-
abdfa67c
by Bastian Blank at 2021-09-30T13:59:49+02:00
-
e2062cd7
by Ansgar at 2021-09-30T17:45:45+02:00
1 changed file:
Changes:
... | ... | @@ -68,9 +68,9 @@ def check_valid(overrides, session): |
68 | 68 |
o['valid'] = False
|
69 | 69 |
if o['type'] not in ('dsc', 'deb', 'udeb'):
|
70 | 70 |
raise Exception('Unknown override type {0}'.format(o['type']))
|
71 |
- if o['type'] == 'udeb' and o['section'] != 'debian-installer':
|
|
71 |
+ if o['type'] == 'udeb' and o['section'].split('/', 1)[-1] != 'debian-installer':
|
|
72 | 72 |
o['valid'] = False
|
73 |
- if o['section'] == 'debian-installer' and o['type'] not in ('dsc', 'udeb'):
|
|
73 |
+ if o['section'].split('/', 1)[-1] == 'debian-installer' and o['type'] not in ('dsc', 'udeb'):
|
|
74 | 74 |
o['valid'] = False
|
75 | 75 |
all_valid = all_valid and o['valid']
|
76 | 76 |
return all_valid
|