summarylogtreecommitdiffstats
path: root/nvcheck.py
diff options
context:
space:
mode:
authorlilac2020-11-23 18:48:27 +0800
committerlilac2020-11-23 18:48:27 +0800
commit9449f0f0ad22495808c076bf082769eab53a2d3a (patch)
treeeb1d51b93154a9a258c795e87e82859085b48f25 /nvcheck.py
parenteb414a78e902caa9473fba8f7d702f33c4acee3a (diff)
downloadaur-9449f0f0ad22495808c076bf082769eab53a2d3a.tar.gz
[lilac] updated to 3.11.14.imagePacking-2
Diffstat (limited to 'nvcheck.py')
-rwxr-xr-xnvcheck.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/nvcheck.py b/nvcheck.py
index 198032fdb1db..20477f6f2a72 100755
--- a/nvcheck.py
+++ b/nvcheck.py
@@ -12,6 +12,10 @@ to_pattern = r'\1.\2'
prefix = ''
def custom_preproc(vers):
+ # Sometimes, vers contains a `-XXX` suffix
+ # that is not covered by `from_pattern`.
+ if "-" in vers:
+ vers = vers.replace('-', '.')
if len(vers.split('.')) == 3:
return vers + '.REL'
else: