summaryrefslogtreecommitdiff
path: root/checkVersions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2023-01-08 22:09:15 +0100
committerErich Eckner <git@eckner.net>2023-01-08 22:09:15 +0100
commit9cdf72e35444a27fa45b7df0b606a2eec242387c (patch)
treea5e7529c095808a2c41812f941b9380049f9eb78 /checkVersions
parent6860ecf68b658b0c99b87802525e41a4947a7cd9 (diff)
downloadarchlinuxewe-9cdf72e35444a27fa45b7df0b606a2eec242387c.tar.xz
checkVersions: fix tar -> bsdtar for spatialite-tools
Diffstat (limited to 'checkVersions')
-rwxr-xr-xcheckVersions4
1 files changed, 3 insertions, 1 deletions
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