update_check: add support for rubygems.org
This commit is contained in:
parent
56d8f13acb
commit
9ead6eef92
1 changed files with 3 additions and 0 deletions
|
@ -66,6 +66,9 @@ update_check() {
|
|||
*download.kde.org/stable/applications*|*download.kde.org/stable/frameworks*|*download.kde.org/stable/plasma*)
|
||||
url="${url%%${version%.*}*}"
|
||||
rx='href="\K[\d\.]+(?=/")';;
|
||||
*rubygems.org*)
|
||||
url="https://rubygems.org/gems/${pkgname#ruby-}"
|
||||
rx='versions/\K[\d\.]+' ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue