From 05583eb1346596ce0ce92ceb80b6c291634169df Mon Sep 17 00:00:00 2001 From: legobt <6wbvkn0j@anonaddy.me> Date: Fri, 16 Aug 2024 00:16:00 +0000 Subject: [PATCH] firefox: fix xauthority default mount --- contrib/bin/firefox | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/bin/firefox b/contrib/bin/firefox index 13bb08a2..66fdc5cf 100755 --- a/contrib/bin/firefox +++ b/contrib/bin/firefox @@ -5,7 +5,7 @@ export RUNNER_IMAGE="${RUNNER_IMAGE:-${FIREFOX_RUNNER_IMAGE:-localhost/l7/firefo export RUNNER_ENV="${RUNNER_ENV} DISPLAY=${L7_DISPLAY:-${DISPLAY}}" export RUNNER_ENV="${RUNNER_ENV} XAUTHORITY=/etc/x11/xauthority/Xauthority" -if [ -n "${L7_XAUTHORITY}" ]; then +if [[ -n "${L7_XAUTHORITY}" ]] && [[ -z "${L7_XAUTHORITY_VOLUME}" ]]; then export RUNNER_VOLS="${L7_XAUTHORITY}:/etc/x11/xauthority/Xauthority:Z ${RUNNER_VOLS}" else export RUNNER_VOLS="${L7_XAUTHORITY_VOLUME:-l7_dev_desktop_x11_xauthority}:/etc/x11/xauthority:Z ${RUNNER_VOLS}"