diff options
author | Erich Eckner <git@eckner.net> | 2020-10-24 20:07:42 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-10-24 20:07:42 +0200 |
commit | 8f1c007d4e5a012865b60ba999a2235c660976b6 (patch) | |
tree | 0959a0e3fde9eb5880f0f3477706539006906574 /checkVersions | |
parent | c8ad706d115261ba9b5991b1d3140be44c974b4f (diff) | |
download | archlinuxewe.git.save-8f1c007d4e5a012865b60ba999a2235c660976b6.tar.xz |
checkVersions: do not update spatialite-tools beyond libspatialite's major-version
Diffstat (limited to 'checkVersions')
-rwxr-xr-x | checkVersions | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/checkVersions b/checkVersions index e87e0cba..2011ae9a 100755 --- a/checkVersions +++ b/checkVersions @@ -987,6 +987,19 @@ then ist_rc=false ver_match='[0-9._]\+[a-z]\?' fi + if [ "${pkgname}" = 'spatialite-tools' ]; then + ver_match="$( + tar -Oxzf /var/lib/pacman/sync/community.db --wildcards 'libspatialite-*-*/desc' \ + | sed -n ' + /^%VERSION%/ { + N + s/^%VERSION%\n\([0-9]\+\.\).*$/\1/ + T + p + } + ' + )${ver_match}" + fi remVer=$( \ curl_it "${quVer}" | \ tr '"<>' '\n\n\n' | \ |