diff options
author | Erich Eckner <git@eckner.net> | 2021-07-31 19:57:27 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-07-31 19:57:27 +0200 |
commit | 970bb6ed275201f507f8573862a4af9e2c000fb8 (patch) | |
tree | 8c5ae4bcda310a184a653462cbec7377840659dc /checkVersions | |
parent | 9087bf50e50776bba9e40e5978238a02021a1044 (diff) | |
download | archlinuxewe-970bb6ed275201f507f8573862a4af9e2c000fb8.tar.xz |
checkVersions: learn otf-grundschrift
Diffstat (limited to 'checkVersions')
-rwxr-xr-x | checkVersions | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/checkVersions b/checkVersions index a24d84102..3508dfcf9 100755 --- a/checkVersions +++ b/checkVersions @@ -341,6 +341,18 @@ then p ' "${pkgname}/PKGBUILD" )" + elif [ "${pkgname}" = 'otf-grundschrift' ]; then + if curl_it 'https://fontlibrary.org/en/font/grundschrift' \ + | sed ' + s@^.*<a href="/assets/downloads/grundschrift/\([0-9a-f]\{32\}\)/grundschrift\.zip" .*$@\1@ + t + d + ' \ + | grep -qxF "${md5sums[0]}"; then + remVer="${pkgver}" + else + remVer="${pkgver%.*}.$((${pkgver##*.}+1))" + fi elif echo "${src}" | \ grep -qF '/ssacli-'; then centosVer=$( |