From 309947eeea6309c5b2098bb80951bca312c5fbb1 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 10 Aug 2024 10:45:14 -0300 Subject: Fix: trashman: tor-transproxy: updates (2) --- .../tor-transproxy/unix/linux/debian/files/tbb/user.js | 2 +- share/trashman/tor-transproxy/unix/linux/debian/install | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/share/trashman/tor-transproxy/unix/linux/debian/files/tbb/user.js b/share/trashman/tor-transproxy/unix/linux/debian/files/tbb/user.js index f8d9c0d..027e908 100644 --- a/share/trashman/tor-transproxy/unix/linux/debian/files/tbb/user.js +++ b/share/trashman/tor-transproxy/unix/linux/debian/files/tbb/user.js @@ -1,7 +1,7 @@ // Preferences for system-installed Tor Browser // Needs either // -// * Setting TOR_CONTROL_PASSWORD at ~/.local/share/torbrowser/tbb/x86_64/tor-browser_en-US/Browser/start-tor-browser +// * Setting TOR_CONTROL_PASSWORD at $TOR_BROWSER_PATH/start-tor-browser // * Passing TOR_CONTROL_PASSWORD to start-tor-browser via the command line // // See https://trac.torproject.org/projects/tor/wiki/TorBrowserBundleSAQ diff --git a/share/trashman/tor-transproxy/unix/linux/debian/install b/share/trashman/tor-transproxy/unix/linux/debian/install index 72cfff3..0a4b377 100755 --- a/share/trashman/tor-transproxy/unix/linux/debian/install +++ b/share/trashman/tor-transproxy/unix/linux/debian/install @@ -46,13 +46,13 @@ service tor restart # torbrowser-launcher from https://github.com/micahflee/torbrowser-launcher # (also at https://tracker.debian.org/torbrowser-launcher). # -#TB="$HOME/.local/share/torbrowser/tbb/$ARCH/tor-browser_en-US/Browser" -#TB="$HOME/.local/share/tor-browser/$ARCH/latest/Browser" -#if [ -e "$TB" ]; then +#TOR_BROWSER_PATH="$HOME/.local/share/torbrowser/tbb/$ARCH/tor-browser_en-US/Browser" +#TOR_BROWSER_PATH="$HOME/.local/share/tor-browser/$ARCH/latest/Browser" +#if [ -e "$TOR_BROWSER_PATH" ]; then # # Force about:config preferences -# cp $SHARE/tor-transproxy/unix/linux/debian/files/tbb/user.js $TB/TorBrowser/Data/Browser/profile.default/user.js +# cp $SHARE/tor-transproxy/unix/linux/debian/files/tbb/user.js $TOR_BROWSER_PATH/TorBrowser/Data/Browser/profile.default/user.js # # # Hard code control port password into the start-tor-browser script # sed -i -e "s/setControlPortPasswd \${TOR_CONTROL_PASSWD:='\"secret\"'/setControlPortPasswd \${TOR_CONTROL_PASSWD:='\"\"'}/" \ -# $TB/start-tor-browser +# $TOR_BROWSER_PATH/start-tor-browser #fi -- cgit v1.2.3