summaryrefslogtreecommitdiff
path: root/checkVersions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-03 13:15:56 +0200
committerErich Eckner <git@eckner.net>2018-05-03 13:15:56 +0200
commitf0fd4c39e2d34fe90593c38d017c20886c0bfd07 (patch)
tree9ab1735d2d7408e41e73be242c92016339f62928 /checkVersions
parenteb1dfdd86a5ff10c82d71c4fcf109d4a63adb100 (diff)
downloadarchlinuxewe.git.save-f0fd4c39e2d34fe90593c38d017c20886c0bfd07.tar.xz
checkVersions: more github
Diffstat (limited to 'checkVersions')
-rwxr-xr-xcheckVersions7
1 files changed, 5 insertions, 2 deletions
diff --git a/checkVersions b/checkVersions
index 2683876a..9fa2193e 100755
--- a/checkVersions
+++ b/checkVersions
@@ -469,8 +469,11 @@ then
then
quVer=$(
echo "${src#*::}" | \
- sed "s|/archive/[^/]*\$|/releases|" | \
- sed 's|http:|https:|'
+ sed '
+ s|/archive/[^/]*$|/releases|
+ s|/download/[^/]*/[^/]*$||
+ s|http:|https:|
+ '
)
quNam=$(
echo "/${quVer#*.com/}/tag/" | \