Created
September 15, 2021 19:54
-
-
Save zbyna/84058facf5ca26faf4f5c648370bc6e9 to your computer and use it in GitHub Desktop.
Tor-browser 10.5.6 - fix for Ubuntu 14.04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
basedir=$(dirname "$0") | |
add_LD_LIBRARY_PATH() { | |
if test -z "$LD_LIBRARY_PATH" | |
then | |
LD_LIBRARY_PATH="$1" | |
else | |
LD_LIBRARY_PATH="$1:$LD_LIBRARY_PATH" | |
fi | |
} | |
# Check if the system has a more recent version of libstdc++.so.6; if yes, use | |
# that instead of the bundled version. | |
"$basedir/abicheck" >/dev/null 2>&1 | |
# if [ $? -ne 0 ]; then | |
add_LD_LIBRARY_PATH "$basedir/TorBrowser/Tor/libstdc++/" | |
# fi | |
add_LD_LIBRARY_PATH "$basedir/TorBrowser/Tor/" | |
export LD_LIBRARY_PATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment