1
1
mirror of https://github.com/sshuttle/sshuttle.git synced 2025-07-04 00:30:35 +02:00

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

@ -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