Prefer Python3 by default.

This commit is contained in:
Brian May 2015-11-28 16:02:47 +11:00
parent da62fe5b80
commit c06c972039

4
run
View File

@ -1,6 +1,6 @@
#!/bin/sh
if python2 -V 2>/dev/null; then
exec python2 -m "sshuttle" "$@"
if python3 -V 2>/dev/null; then
exec python3 -m "sshuttle" "$@"
else
exec python -m "sshuttle" "$@"
fi