Skip to content

Commit bc2a0b7

Browse files
committed
Fix path to main.py in .deb
1 parent 6a96ace commit bc2a0b7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packaging/make_deb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ cp tunnel.conf ${B}/etc/sshuttle
2727
# Remove MacOS X stuff from .deb
2828
rm -r ${B}/usr/share/sshuttle/ui-macos
2929

30+
# Fix path to main.py
31+
sed -e 's:^DIR=.*$:DIR=/usr/share/sshuttle/:' -i ${B}/usr/bin/sshuttle
32+
3033
# Copy the control file over, as well
3134
cp control ${B}/DEBIAN
3235

0 commit comments

Comments
 (0)