lol

common-updater-scripts,directoryListingUpdater: handle ${pname}_${version} file names (#347619)

authored by

Wolfgang Walther and committed by
GitHub
11b181e2 1ade222e

+1 -1
+1 -1
pkgs/common-updater/scripts/list-directory-versions
··· 61 61 link_url = link.get("href", None) 62 62 if link_url is not None: 63 63 match = re.fullmatch( 64 - rf"(.*/)?{args.pname}-([\d.]+?(-[\d\w.-]+?)?)(\.tar)?(\.[^.]*)", link_url 64 + rf"(.*/)?{args.pname}[-_]([\d.]+?(-[\d\w.-]+?)?)(\.tar)?(\.[^.]*)", link_url 65 65 ) 66 66 if match: 67 67 version = match.group(2)