Fix path to main.py in .deb

This commit is contained in:
Axel Beckert 2015-04-18 14:46:55 +02:00
parent 6a96ace497
commit bc2a0b7fbc

View File

@ -27,6 +27,9 @@ cp tunnel.conf ${B}/etc/sshuttle
# Remove MacOS X stuff from .deb
rm -r ${B}/usr/share/sshuttle/ui-macos
# Fix path to main.py
sed -e 's:^DIR=.*$:DIR=/usr/share/sshuttle/:' -i ${B}/usr/bin/sshuttle
# Copy the control file over, as well
cp control ${B}/DEBIAN