mirror of
ssh://git.janware.com/janware/proj/jw-pkg
synced 2026-04-25 17:45:55 +02:00
cmds.projects.BaseCmdPkgRelations: Fix Debian simple deps
Simple dependencies (i.e. non-triplet dependencies, e.g gcc > 15.0) raise an exception on Debian, fix that. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
0a19f3173a
commit
e461b2815d
1 changed files with 6 additions and 5 deletions
|
|
@ -128,6 +128,7 @@ class BaseCmdPkgRelations(Cmd):
|
||||||
case self.Syntax.semver:
|
case self.Syntax.semver:
|
||||||
pass
|
pass
|
||||||
case self.Syntax.debian:
|
case self.Syntax.debian:
|
||||||
|
if len(expanded_dep) == 3:
|
||||||
match expanded_dep[1]:
|
match expanded_dep[1]:
|
||||||
case '<':
|
case '<':
|
||||||
expanded_dep[1] = '<<'
|
expanded_dep[1] = '<<'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue