Skip to content

Commit

Permalink
download_official_pkgbuild: fix url
Browse files Browse the repository at this point in the history
  • Loading branch information
lilydjwg committed May 17, 2024
1 parent 7861b50 commit f93973a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lilac2/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ def download_official_pkgbuild(name: str) -> list[str]:
else:
tag = f'{pkgver}-{pkgrel}'

tarball_url = 'https://gitlab.archlinux.org/archlinux/packaging/packages/{0}/-/archive/main/{0}-{1}.tar.bz2'.format(pkgbase, tag)
tarball_url = 'https://gitlab.archlinux.org/archlinux/packaging/packages/{0}/-/archive/{1}/{0}-{1}.tar.bz2'.format(pkgbase, tag)
logger.debug('downloading Arch package tarball from: %s', tarball_url)
tarball = s.get(tarball_url).content
path = f'{pkgbase}-main'
Expand Down

0 comments on commit f93973a

Please sign in to comment.