aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/euscan_patch_metadata2
1 files changed, 1 insertions, 1 deletions
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