summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaMont Jones <lamont@debian.org>2013-11-07 07:32:15 -0700
committerLaMont Jones <lamont@debian.org>2013-11-07 07:32:15 -0700
commitc277f9ee6c6e7f9afd14d1ced93dcb74045f7f43 (patch)
treeae61800ca70d0b8f26aea75e26cb5fcd8e607524
parenteef89ba70e87f914d7f51b1f5c2fc0292bccd68a (diff)
downloadbind9-c277f9ee6c6e7f9afd14d1ced93dcb74045f7f43.tar.gz
rules tweak to make backports to pre-dh-systemd releases easier
-rw-r--r--debian/rules4
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index b60b42d6..f9d1136c 100644
--- a/debian/rules
+++ b/debian/rules
@@ -160,7 +160,9 @@ binary-arch: build install
dh_systemd_enable -plwresd lwresd.service
dh_installinit -a --no-start -- defaults 15 85
# Ship the extra service file for resolvconf integration manually.
- cp debian/bind9-resolvconf.service debian/bind9/lib/systemd/system
+ if [ -d debian/bind9/lib/systemd/system ]; then \
+ cp debian/bind9-resolvconf.service debian/bind9/lib/systemd/system; \
+ fi
dh_installcron -a
dh_installdebconf -pbind9
dh_installinfo -a