diff --git a/bin/euscan_patch_metadata b/bin/euscan_patch_metadata index 617ca3b..2f1a834 100755 --- a/bin/euscan_patch_metadata +++ b/bin/euscan_patch_metadata @@ -117,7 +117,7 @@ def get_deb_url(name): content = opened.read() for link in BeautifulSoup(content, parseOnlyThese=SoupStrainer("a")): - if re.match("[^\s]+\.debian\.tar\.gz", link.text): + if re.match("[^\s]+\.debian\.tar\.(?:gz|bz2)", link.text): deb_url = link["href"] deb_type = "source" break