Skip to content

Commit 13428b1

Browse files
authored
Merge pull request #71 from kpcyrd/archive-cache
Allow setting an archive cache in buildinfo script
2 parents 57540f3 + 0a73d17 commit 13428b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ function parse_package () {
6969
parse <<< "$(tar xOf "${1}" .BUILDINFO 2>/dev/null)"
7070
}
7171

72-
readonly archive_url="https://archive.archlinux.org/packages"
72+
readonly archive_url="${ARCH_ARCHIVE_CACHE:-https://archive.archlinux.org/packages}"
7373

7474
# Desc: get ALA link for given package
7575
# 1: Package

0 commit comments

Comments
 (0)