summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-06-05 14:43:02 +0200
committerErich Eckner <git@eckner.net>2020-06-05 14:43:02 +0200
commit65e2fc0acd52f37adfd04162efdef07d8ec43188 (patch)
tree7f360389de61d1ce4dc982b23d7d7ffb06b17ed8
parent925db12f2b6ad0750e5ed2322519bc394c1ec90c (diff)
downloadarchlinuxewe-65e2fc0acd52f37adfd04162efdef07d8ec43188.tar.xz
manually-check-pinned-dependencies: check xz packages, too
-rwxr-xr-xmanually-check-pinned-dependencies5
1 files changed, 4 insertions, 1 deletions
diff --git a/manually-check-pinned-dependencies b/manually-check-pinned-dependencies
index a07f860c2..72a05c875 100755
--- a/manually-check-pinned-dependencies
+++ b/manually-check-pinned-dependencies
@@ -39,7 +39,10 @@ for name in "${pkgname[@]}"; do
"/mnt/archlinuxewe/os/x86_64" \
"/mnt/archlinux32/releng/x86_64"; do
for a in x86_64 any; do
- pkgfile="${r}/${name}-${epoch:+${epoch}:}${pkgver}-${prel}-${a}.pkg.tar.zst"
+ for s in zst xz; do
+ pkgfile="${r}/${name}-${epoch:+${epoch}:}${pkgver}-${prel}-${a}.pkg.tar.${s}"
+ [ -e "${pkgfile}" ] && break
+ done
[ -e "${pkgfile}" ] && break
done
[ -e "${pkgfile}" ] && break