From a0f79fcce0b58b4fb126a452a3a2b4414611c9c9 Mon Sep 17 00:00:00 2001 From: Levente Polyak Date: Fri, 21 Feb 2020 00:03:59 +0100 Subject: makerepropkg: prioritize downloading .zst packages over legacy format First try a .zst location before falling back to legacy variants. This should slightly speed up downloading of dependencies, especially over time as .zst packages are or will be the dominant format. Signed-off-by: Levente Polyak --- makerepropkg.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makerepropkg.in b/makerepropkg.in index bd064a4..62ba5f3 100755 --- a/makerepropkg.in +++ b/makerepropkg.in @@ -60,7 +60,7 @@ get_pkgfile() { local pkgname=${pkgfilebase%-*-*-*} local pkgfile ext - for ext in .xz .zst ''; do + for ext in .zst .xz ''; do pkgfile=${pkgfilebase}.pkg.tar${ext} for c in "${cache_dirs[@]}"; do -- cgit v1.2.3-54-g00ecf