mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Also split + and -
This commit is contained in:
parent
3a62d828ba
commit
8bcf753081
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ def meets_version_specifier(pkg_name, specifier):
|
|||
# context
|
||||
assert pkg_name in YUNOHOST_PACKAGES
|
||||
pkg_version = get_ynh_package_version(pkg_name)["version"]
|
||||
pkg_version = pkg_version.split("~")[0]
|
||||
pkg_version = re.split(r'\~|\+|\-', pkg_version)[0]
|
||||
pkg_version = version.parse(pkg_version)
|
||||
|
||||
# Extract operator and version specifier
|
||||
|
|
Loading…
Add table
Reference in a new issue