Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/common-functions
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common-functions')
-rwxr-xr-xlib/common-functions3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/common-functions b/lib/common-functions
index 6f175af..e7e44b9 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -759,6 +759,9 @@ trigger_mirror_refreshs() {
extract_pkgname_epoch_pkgver_pkgrel_sub_pkgrel_arch_from_package_name() {
pkgname="$1"
pkgname="${pkgname%.pkg.tar.xz}"
+ if [ "${pkgname}" = "$1" ]; then
+ pkgname="${pkgname%.pkg.tar.zst}"
+ fi
arch="${pkgname##*-}"
pkgname="${pkgname%-*}"
sub_pkgrel="${pkgname##*-}"