Skip to content

Commit

Permalink
port to use tb-starter's new tb_no_start=true environment variable
Browse files Browse the repository at this point in the history
for easier readability than tb_skip_functions
  • Loading branch information
Patrick Schleizer committed Oct 31, 2020
1 parent 489589b commit bbcb91f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/bin/sandbox-app-launcher
Expand Up @@ -229,7 +229,7 @@ run_program() {
## Install Tor Browser.
if [ "${app_name}" = "torbrowser" ]; then
if ! [ -d "${app_homedir}/.tb" ]; then
sudo -H -u "${app_user}" HOME="${app_homedir}" bash -c "tb_skip_functions+=' tb_start_tor_browser ' torbrowser"
sudo -H -u "${app_user}" HOME="${app_homedir}" tb_no_start=true torbrowser
fi
bwrap_args+="--ro-bind-try /run/anon-ws-disable-stacked-tor/127.0.0.1_9150.sock /run/anon-ws-disable-stacked-tor/127.0.0.1_9150.sock "
bwrap_args+="--ro-bind-try /run/anon-ws-disable-stacked-tor/127.0.0.1_9151.sock /run/anon-ws-disable-stacked-tor/127.0.0.1_9151.sock "
Expand Down

0 comments on commit bbcb91f

Please sign in to comment.