diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-08-10 10:45:14 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-08-10 10:45:14 -0300 |
commit | 309947eeea6309c5b2098bb80951bca312c5fbb1 (patch) | |
tree | 7689b90e347c666e6c8419fe06891566d3d41f29 | |
parent | 45d36a1ed0ccc516c6a68c6603ef05df28a1ffd4 (diff) | |
download | trashman-309947eeea6309c5b2098bb80951bca312c5fbb1.tar.gz trashman-309947eeea6309c5b2098bb80951bca312c5fbb1.tar.bz2 |
Fix: trashman: tor-transproxy: updates (2)
-rw-r--r-- | share/trashman/tor-transproxy/unix/linux/debian/files/tbb/user.js | 2 | ||||
-rwxr-xr-x | 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 |