forked from I2P_Developers/i2p.i2p
checkremotecerts.sh: torify was recently deprecated and now is just an alias pointing to
torsocks, so let's use torsocks directly
This commit is contained in:
@ -21,10 +21,10 @@ check_for_prog() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
if pidof /usr/bin/tor > /dev/null 2>&1 && check_for_prog torify; then
|
if pidof /usr/bin/tor > /dev/null 2>&1 && check_for_prog torsocks; then
|
||||||
echo "-- Detected Tor, will try using it --"
|
echo "-- Detected Tor, will try using it --"
|
||||||
GNUTLS_BIN="torify gnutls-cli"
|
GNUTLS_BIN="torsocks gnutls-cli"
|
||||||
OPENSSL_BIN="torify openssl"
|
OPENSSL_BIN="torsocks openssl"
|
||||||
else
|
else
|
||||||
GNUTLS_BIN="gnutls-cli"
|
GNUTLS_BIN="gnutls-cli"
|
||||||
OPENSSL_BIN="openssl"
|
OPENSSL_BIN="openssl"
|
||||||
|
Reference in New Issue
Block a user