diff options
-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 |