update_classic_status: categorise perl packages

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
Paul Eggleton 2018-10-31 17:12:59 +13:00
parent 33fba17414
commit cd88e0c0ff

View File

@ -234,6 +234,10 @@ def main():
recipe.classic_category = 'gnome' recipe.classic_category = 'gnome'
recipe.save() recipe.save()
updated = True updated = True
elif recipe.pn.startswith('perl-'):
recipe.classic_category = 'perl'
recipe.save()
updated = True
if updated and updateobj: if updated and updateobj:
rupdate, _ = ComparisonRecipeUpdate.objects.get_or_create(update=updateobj, recipe=recipe) rupdate, _ = ComparisonRecipeUpdate.objects.get_or_create(update=updateobj, recipe=recipe)
rupdate.link_updated = True rupdate.link_updated = True