From 9cdf72e35444a27fa45b7df0b606a2eec242387c Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 8 Jan 2023 22:09:15 +0100 Subject: checkVersions: fix tar -> bsdtar for spatialite-tools --- checkVersions | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/checkVersions b/checkVersions index 3454f2bc5..9ab38bec0 100755 --- a/checkVersions +++ b/checkVersions @@ -1067,7 +1067,9 @@ then fi if [ "${pkgname}" = 'spatialite-tools' ]; then ver_match=$( - tar -Oxzf /var/lib/pacman/sync/community.db --wildcards 'libspatialite-*-*/desc' \ + bsdtar -tf /var/lib/pacman/sync/community.db \ + | grep -x 'libspatialite-.*-.*/desc' \ + | xargs -r bsdtar -Oxf /var/lib/pacman/sync/community.db \ | sed -n ' /^%VERSION%/ { N -- cgit v1.2.3-70-g09d2