summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-08-03 18:17:42 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-08-03 18:17:42 +0200
commita727d875a61e8556d41ee424fe65818736bf7d10 (patch)
treecaa130e3f4ac6dfcd81daccea81f649b5f95ffbf /debian/rules
parenta493df1c7d5ff6c537363f35689cb2f2a0d81f4e (diff)
Replace manual install of systemd files with install via dh_installsystemd
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules5
1 files changed, 3 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules
index 69b8f35..a53610d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -129,8 +129,9 @@ endif
override_dh_installinit-arch:
dh_installinit -psane-utils --name=saned
-override_dh_systemd_enable-arch:
- dh_systemd_enable --no-enable debian/saned.socket
+override_dh_installsystemd-arch:
+ dh_installsystemd -psane-utils --no-enable --name=saned
+ dh_installsystemd -psane-utils --no-enable --name=saned@
override_dh_makeshlibs-arch:
dh_makeshlibs -- -v$(DEB_VERSION_UPSTREAM) -Pdebian/libsane1 -plibsane1