summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2016-12-22 00:59:49 +0100
committerJonas Smedegaard <dr@jones.dk>2016-12-22 00:59:49 +0100
commit0d366c9bd90625fc490136f8dd83e5844b229dc3 (patch)
treec92e2ce9f512b0efb998f7b5c361528cf975ede8 /debian/rules
parent0968fe0ef6217e73755cc935ee098cf6f5ee649f (diff)
downloadbiboumi-0d366c9bd90625fc490136f8dd83e5844b229dc3.tar.gz
biboumi-0d366c9bd90625fc490136f8dd83e5844b229dc3.tar.bz2
biboumi-0d366c9bd90625fc490136f8dd83e5844b229dc3.tar.xz
biboumi-0d366c9bd90625fc490136f8dd83e5844b229dc3.zip
Install systemd service file below /lib.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 071b025..dc34d8b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -37,3 +37,7 @@ DEB_MAKE_CHECK_TARGET = check
DEB_INSTALL_CHANGELOGS_ALL += CHANGELOG.rst
DEB_INSTALL_DOCS_$(pkg) += README.rst CONTRIBUTING.rst
DEB_INSTALL_EXAMPLES_$(pkg) = doc/example.conf
+
+binary-post-install/$(pkg)::
+ mkdir -p $(cdbs_curdestdir)/lib
+ mv $(cdbs_curdestdir)/usr/lib/systemd $(cdbs_curdestdir)/lib