summaryrefslogtreecommitdiff
path: root/checkVersions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-03-13 08:49:20 +0100
committerErich Eckner <git@eckner.net>2017-03-13 08:49:20 +0100
commitc3008f16cfc60086e6494445b3f5f06cbbe32176 (patch)
tree7138ac882fa8477d9071d204846d8321d299ae91 /checkVersions
parent6427373338642b51c6aeb783d0df16dd67808b0d (diff)
downloadarchlinuxewe-c3008f16cfc60086e6494445b3f5f06cbbe32176.tar.xz
checkVersions kann jetzt auch ldm
Diffstat (limited to 'checkVersions')
-rwxr-xr-xcheckVersions4
1 files changed, 3 insertions, 1 deletions
diff --git a/checkVersions b/checkVersions
index 5fbb113e6..736816c51 100755
--- a/checkVersions
+++ b/checkVersions
@@ -319,12 +319,14 @@ then
then
quVer=$(
echo "${src#*::}" | \
- sed "s|/archive/[^/]*\$|/releases|"
+ sed "s|/archive/[^/]*\$|/releases|" | \
+ sed 's|http:|https:|'
)
quNam=/${quVer#*.com/}/tag/
remVer=$( \
curl "${quVer}" 2> /dev/null | \
tr "\"" "\n" | \
+ tr '[[:upper:]]' '[[:lower:]]' | \
grep "^${quNam}v\?[0-9.]\+\$" | \
sed "s|^${quNam}v\?||" | \
(