aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>2017-10-23 12:09:51 +0200
committerLuca Boccassi <luca.boccassi@gmail.com>2017-11-29 23:29:28 +0000
commit203dc052ffb26b93a46db042b226e34363d4826a (patch)
tree2ef9ed467f3a0f53aeac99ea22b18d932ce68561 /debian
parente0ceeba6472ffb7ca6096bf62787cf06dcfdc21d (diff)
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 <christian.ehrhardt@canonical.com> (cherry picked from commit c7873313a7fe60ac1bc229df2617153cca4318d7) Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules4
1 files 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: