diff options
Diffstat (limited to 'xnuxnu')
-rwxr-xr-x | xnuxnu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xnuxnu b/xnuxnu index cbd4054..baa4886 100755 --- a/xnuxnu +++ b/xnuxnu @@ -29,7 +29,7 @@ void_version=$(./xbps-src show "$1" | sed -n '/^version/s/[^:]*:[\t]*//p') *github.com*) githubname="$(echo $url | cut -d/ -f4,5)" url="https://api.github.com/repos/$githubname/tags" - rx='"name":\s*"v?\K[^\d]*([\d\.]+)(?=")';; + rx='"name":\s*"(v|'"$pkgname"'-)?\K[^\d]*([\d\.]+)(?=")';; esac set -- $(grep "^${orig_pkgname} " xnuxnu-override) |