[debhelper-devel] [debhelper] 20/21: systemd-pm: Disable sequence in compat 11
Niels Thykier
nthykier at moszumanska.debian.org
Fri Oct 13 18:27:21 UTC 2017
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository debhelper.
commit 16142c1f4ef419e475cf2418a6595f6177bdd604
Author: Niels Thykier <niels at thykier.net>
Date: Fri Oct 13 18:26:06 2017 +0000
systemd-pm: Disable sequence in compat 11
Signed-off-by: Niels Thykier <niels at thykier.net>
---
lib/Debian/Debhelper/Sequence/systemd.pm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/lib/Debian/Debhelper/Sequence/systemd.pm b/lib/Debian/Debhelper/Sequence/systemd.pm
index bbaa405..d9a2fa5 100644
--- a/lib/Debian/Debhelper/Sequence/systemd.pm
+++ b/lib/Debian/Debhelper/Sequence/systemd.pm
@@ -3,6 +3,11 @@ use warnings;
use strict;
use Debian::Debhelper::Dh_Lib;
+if (not compat(10)) {
+ error("The systemd-sequence is no longer provided in compat >= 11, please rely on dh_installsystemd instead");
+}
+
+
# dh_systemd_enable runs unconditionally, and before dh_installinit, so that
# the latter can use invoke-rc.d and all symlinks are already in place.
insert_before("dh_installinit", "dh_systemd_enable");
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git
More information about the debhelper-devel
mailing list