diff options
author | Erich Eckner <git@eckner.net> | 2021-04-19 11:58:04 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-04-19 11:58:04 +0200 |
commit | 094b28a1d079ed31a8aa78f2f7cc47f3373cda32 (patch) | |
tree | a43de0f6cd875021c92410add403fd7ec4b9a0d5 /checkVersions | |
parent | d5c8ae1658acb0d80dd39794e618e004516ead41 (diff) | |
download | archlinuxewe-094b28a1d079ed31a8aa78f2f7cc47f3373cda32.tar.xz |
mkgmap & splitter: http -> https
Diffstat (limited to 'checkVersions')
-rwxr-xr-x | checkVersions | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/checkVersions b/checkVersions index 71f165d28..a5b4afc04 100755 --- a/checkVersions +++ b/checkVersions @@ -1091,18 +1091,20 @@ then fi done elif echo "${src}" | \ - grep -q "http://www\.mkgmap\.org\.uk/download" + grep -q "https://www\.mkgmap\.org\.uk/download" then remUrl=$( echo "${src}" | \ sed 's|-r[0-9]\+\.zip$|.html|' ) remVer=r$( - curl_it "${remUrl}" | \ - grep '"text: current()\.version"' | \ - tr '<>' '\n' | - grep '^[0-9]\+$' | \ - latest_version + curl_it "${remUrl}" \ + | sed ' + s@^.*"text: current()\.version">\([0-9]\+\)<.*$@\1@ + t + d + ' \ + | latest_version ) elif echo "${src}" | \ grep -qF '//www.roguetemple.com/' |