[tbb-commits] [tor-browser-build/master] Bug 40318: Remove check for DISPLAY env var in start-tor-browser
sysrqb at torproject.org
sysrqb at torproject.org
Fri Dec 3 19:50:24 UTC 2021
commit 63d527733e6990c9424d5976a779a9574eef5c47
Author: Nicolas Vigier <boklm at torproject.org>
Date: Thu Nov 11 12:56:40 2021 +0100
Bug 40318: Remove check for DISPLAY env var in start-tor-browser
When using Wayland, the DISPLAY environment variable does not need to be
set, so the start-tor-browser script should not fail in that case.
Wayland support is still disabled by default in Firefox, and users who
want to enable it will need to set the MOZ_ENABLE_WAYLAND environment
variable.
---
projects/tor-browser/RelativeLink/start-tor-browser | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/projects/tor-browser/RelativeLink/start-tor-browser b/projects/tor-browser/RelativeLink/start-tor-browser
index 624bb3c..cd70765 100755
--- a/projects/tor-browser/RelativeLink/start-tor-browser
+++ b/projects/tor-browser/RelativeLink/start-tor-browser
@@ -7,16 +7,7 @@
complain_dialog_title="Tor Browser"
-# First, make sure DISPLAY is set. If it isn't, we're hosed; scream
-# at stderr and die.
-if [ "x$DISPLAY" = "x" ]; then
- echo "$complain_dialog_title must be run within the X Window System." >&2
- echo "Exiting." >&2
- exit 1
-fi
-
-# Second, make sure this script wasn't started as 'sh start-tor-browser' or
-# similar.
+# Make sure this script wasn't started as 'sh start-tor-browser' or similar.
if [ "x$BASH" = "x" ]; then
echo "$complain_dialog_title should be started as './start-tor-browser'"
echo "Exiting." >&2
More information about the tbb-commits
mailing list