mirror of
https://github.com/BioArchLinux/bioarchlinux-tools.git
synced 2025-03-09 22:53:31 +00:00
update url
in PKGBUILD for BIOC
This commit is contained in:
parent
c5b59a20f8
commit
2e5e8794cf
1 changed files with 6 additions and 0 deletions
|
@ -79,6 +79,12 @@ def archive_pkg_pkgbuild(bioconductor_version=3.15, _pkgname="_pkgname"):
|
|||
changed = False
|
||||
flag = False
|
||||
for i in range(len(lines)):
|
||||
|
||||
if lines[i].startswith("url=") and '//bioconductor.org' in lines[i]:
|
||||
lines[i] = lines[i].replace(
|
||||
"packages/", f"packages/{bioconductor_version}/")
|
||||
changed = True
|
||||
|
||||
if lines[i].startswith("source="):
|
||||
flag = True
|
||||
if flag:
|
||||
|
|
Loading…
Add table
Reference in a new issue