index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2020-01-03 13:26:28 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-01-03 13:26:28 +0100 |
commit | 9009a5fec52c5820fc90a68317bcc29cdbb42da1 (patch) | |
tree | 7b6282369dfa8cfc3cbd224b9dabf79ca4a5d87a /lib/common-functions | |
parent | 089cbcdf1c5cedcb4157cdd164ee7510139c1904 (diff) |
-rwxr-xr-x | lib/common-functions | 3 |
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##*-}" |