summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2017-06-26 14:46:50 +0200
committerKali Kaneko <kali@leap.se>2017-06-26 14:49:08 +0200
commit88fbcb1509ab2cd68fbac42f77b22a6ec1169e45 (patch)
tree4a55912c91f14378aecd14c280027cb9788d1b73 /debian
parent5dcd48831e0acc5726643e7fffa56315e2ef82b5 (diff)
[pkg] install init file
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules4
-rw-r--r--debian/soledad-common.install1
2 files changed, 4 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index c9033e7e..1ef5e6e4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,13 +3,15 @@
# Prevent setuptools/distribute from accessing the internet.
export http_proxy = http://127.0.0.1:9
+export PYBUILD_NAME=leap.soledad
+
# Uncomment this to turn on verbose mode.
DH_VERBOSE=1
NAME=soledad-server
%:
- dh $@ --with python2 --namespace=leap.soledad --with=systemd
+ dh $@ --with python2 --namespace=leap.soledad --buildsystem=pybuild --with=systemd
override_dh_installinit:
dh_systemd_enable -p${NAME} --name=${NAME} ${NAME}.service
diff --git a/debian/soledad-common.install b/debian/soledad-common.install
index af959ed8..46e635d4 100644
--- a/debian/soledad-common.install
+++ b/debian/soledad-common.install
@@ -1 +1,2 @@
+src/leap/soledad/__init__.py /usr/lib/python2.7/dist-packages/leap/soledad/
src/leap/soledad/common /usr/lib/python2.7/dist-packages/leap/soledad/