Revert Debian package specific change.

This is required so sshuttle can be run from git repository.

The way the Debian package is created is non-standard, and probably
needs redoing anyway.
This commit is contained in:
Brian May 2014-09-23 11:13:25 +10:00
parent cba8b261c6
commit 36378efe5e

View File

@ -4,8 +4,7 @@ for i in 1 2 3 4 5 6 7 8 9 10; do
[ -L "$EXE" ] || break
EXE=$(readlink "$EXE")
done
#DIR=$(dirname "$EXE")
DIR=/usr/share/sshuttle
DIR=$(dirname "$EXE")
if python2 -V 2>/dev/null; then
exec python2 "$DIR/main.py" python2 "$@"
else