summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2015-04-18 14:46:55 +0200
committerAxel Beckert <abe@deuxchevaux.org>2015-04-18 14:46:55 +0200
commitbc2a0b7fbc26a3bb8db786b80f363c97fedcc10e (patch)
tree449d0ca9d47e7a8310eedc047ffee3b0b8580a23
parent6a96ace497749af2403b8c72a55f6d59712c5e78 (diff)
Fix path to main.py in .deb
-rwxr-xr-xpackaging/make_deb3
1 files changed, 3 insertions, 0 deletions
diff --git a/packaging/make_deb b/packaging/make_deb
index 731a302..f21b0ca 100755
--- a/packaging/make_deb
+++ b/packaging/make_deb
@@ -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