diff --git a/profile.d/tsocks b/profile.d/tsocks index 49d3f2b..5a10ee8 100644 --- a/profile.d/tsocks +++ b/profile.d/tsocks @@ -1,4 +1,6 @@ #!/bin/bash # Proxy -export TSOCKS_CONF_FILE=~/.config/tsocks/tsocks.conf +if [ -x /usr/bin/tsocks ] then + export TSOCKS_CONF_FILE=~/.config/tsocks/tsocks.conf +fi