From 92048fdc63ac054366e60546cd9803fa52836fc3 Mon Sep 17 00:00:00 2001 From: mviereck Date: Tue, 7 Jun 2022 14:55:49 +0200 Subject: [PATCH] --xc: fix check in auto mode --- x11docker | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x11docker b/x11docker index 6e9da880..5641023b 100755 --- a/x11docker +++ b/x11docker @@ -11,7 +11,7 @@ # Run 'x11docker --help' or scroll down to read usage information. # More documentation at: https://github.com/mviereck/x11docker -Version="7.1.5-beta-15" +Version="7.1.5-beta-16" # --enforce-i: Enforce running in interactive mode to allow commands tty and weston-launch in special setups. grep -q -- "--enforce-i" <<< "$*" && case $- in @@ -2706,6 +2706,7 @@ check_xcontainer() { # option --xc: check image x11docker/xserver } ;; auto) + Xcontainer="yes" case "$Runtime" in kata-runtime) Xcontainer="no" ;; esac @@ -2800,7 +2801,6 @@ check_xdepends() { # check dependencies on host for X server option } ;; esac - ### FIXME Xcontainer=auto [ "$Xcontainer" = "no" ] && case "${1:-}" in --xpra) command -v "xpra" >/dev/null || {