diff options
author | Erich Eckner <git@eckner.net> | 2023-01-08 22:09:15 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2023-01-08 22:09:15 +0100 |
commit | 9cdf72e35444a27fa45b7df0b606a2eec242387c (patch) | |
tree | a5e7529c095808a2c41812f941b9380049f9eb78 | |
parent | 6860ecf68b658b0c99b87802525e41a4947a7cd9 (diff) | |
download | archlinuxewe-9cdf72e35444a27fa45b7df0b606a2eec242387c.tar.xz |
checkVersions: fix tar -> bsdtar for spatialite-tools
-rwxr-xr-x | checkVersions | 4 |
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 |