Skip to content

Commit 427c29f

Browse files
committed
fix --with-vnc option
1 parent 3289dd3 commit 427c29f

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

ebuildtester/docker.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,11 @@ def _install_basics(self):
343343
self.execute("emerge --verbose %s" %
344344
" ".join(map(str, options.base_packages)))
345345

346+
if options.OPTIONS.with_vnc:
347+
t = ["net-misc/tigervnc", "x11-wm/icewm"]
348+
options.log.info("installing VNC packages: %s" % t)
349+
self.execute("emerge --verbose %s" % " ".join(map(str, t)))
350+
346351
def _enable_global_use(self):
347352
"""Enable global USE settings."""
348353
if not options.OPTIONS.global_use:

ebuildtester/parse.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,6 @@ def parse_commandline(args):
178178
if options.ccache:
179179
options.features.append("ccache")
180180

181-
if options.with_vnc:
182-
options.atom += ["net-misc/tigervnc", "x11-wm/icewm"]
183-
184181
options.atom = list(map(Atom, options.atom))
185182

186183
if options.update in ["yes", "true"]:

0 commit comments

Comments
 (0)