diff options
-rwxr-xr-x | manually-check-pinned-dependencies | 5 |
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 |