luci-app-opkg: fix parsing dependency version constraints
Revert an acidentally changed regex pattern breaking parsing of certain
version dependency expressions.
Fixes: ac47bc9dd7
("luci-app-opkg: various improvements")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
ac47bc9dd7
commit
43cea79a82
1 changed files with 1 additions and 1 deletions
|
@ -601,7 +601,7 @@ function renderDependencies(depends, info, flat)
|
|||
if (deps[i] === 'libc')
|
||||
continue;
|
||||
|
||||
if (deps[i].match(/^(.+)\s+\((<=|<|>|>=|=|<<|>>)(.+)\)$/)) {
|
||||
if (deps[i].match(/^(.+)\s+\((<=|>=|<<|>>|<|>|=)(.+)\)$/)) {
|
||||
dep = RegExp.$1.trim();
|
||||
vop = RegExp.$2.trim();
|
||||
ver = RegExp.$3.trim();
|
||||
|
|
Loading…
Reference in a new issue