From 203dc052ffb26b93a46db042b226e34363d4826a Mon Sep 17 00:00:00 2001 From: Christian Ehrhardt Date: Mon, 23 Oct 2017 12:09:51 +0200 Subject: [PATCH] d/rules: use new dh option names From man pages: Note that the --no-restart-on-upgrade alias is deprecated and will be removed in compat 11. This is to avoid confusion with the --no-restart-after-upgrade option. The --no-stop-on-upgrade variant was introduced in debhelper 10.2 (included in Debian stretch). Follow that to be ready for compat 11 in that regard. Change-Id: I7362a90e867bf4fefae66a4f690992b7053eb593 Signed-off-by: Christian Ehrhardt (cherry picked from commit c7873313a7fe60ac1bc229df2617153cca4318d7) Signed-off-by: Luca Boccassi --- debian/rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index c4487ec9..8ecaa41c 100755 --- a/debian/rules +++ b/debian/rules @@ -356,10 +356,10 @@ override_dh_dkms: dh_dkms -V $(DEB_VERSION_UPSTREAM) override_dh_installinit: - dh_installinit --no-start --no-restart-on-upgrade + dh_installinit --no-start --no-stop-on-upgrade override_dh_systemd_start: - dh_systemd_start --no-start --no-restart-on-upgrade + dh_systemd_start --no-start --no-stop-on-upgrade override_dh_auto_test: -- 2.16.6