summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-06-06 11:38:28 -0400
committerMicah Anderson <micah@riseup.net>2013-06-06 11:38:28 -0400
commit278275b20f717e9e01a4843a871c5fa8d104c2a4 (patch)
tree8b5454e6187887cdf6d5687b66b9da102b78e89c
parentd480d55b2295a47d396cfc7984b1da2667b14468 (diff)
replace installation of initscript through setup.py method with dh_installinit
-rw-r--r--debian/soledad.init1
-rw-r--r--setup.py3
2 files changed, 3 insertions, 1 deletions
diff --git a/debian/soledad.init b/debian/soledad.init
new file mode 100644
index 00000000..e70f6d2b
--- /dev/null
+++ b/debian/soledad.init
@@ -0,0 +1 @@
+../pkg/soledad
diff --git a/setup.py b/setup.py
index b1c0b9db..e8efafc4 100644
--- a/setup.py
+++ b/setup.py
@@ -52,7 +52,8 @@ if os.environ.get('VIRTUAL_ENV', None):
data_files = None
else:
# XXX this should go only for linux/mac
- data_files = [("/etc/init.d/", ["pkg/soledad"])]
+ # debian package: disable this mechanism for installation as it doesn't use debian mechanism to register
+ data_files = None
trove_classifiers = (
"Development Status :: 3 - Alpha",