diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-08-01 15:59:08 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2022-08-01 15:59:08 +0200 |
commit | 43cea79a826f015d0c69cf0af702961fa6cf1c29 (patch) | |
tree | b1d2ff74e71972338acf9a056455d2dcc832f72e /applications/luci-app-opkg/htdocs | |
parent | ac47bc9dd7bff9f415ffa13a1b02892ca3f4453f (diff) |
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>
Diffstat (limited to 'applications/luci-app-opkg/htdocs')
-rw-r--r-- | applications/luci-app-opkg/htdocs/luci-static/resources/view/opkg.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-opkg/htdocs/luci-static/resources/view/opkg.js b/applications/luci-app-opkg/htdocs/luci-static/resources/view/opkg.js index f1be0eed36..311078a22c 100644 --- a/applications/luci-app-opkg/htdocs/luci-static/resources/view/opkg.js +++ b/applications/luci-app-opkg/htdocs/luci-static/resources/view/opkg.js @@ -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(); |