From 315d6aac02b657a4742b5fe2695707904c6033dd Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Sun, 7 May 2017 12:17:05 +0200 Subject: Do not try to (re)start timers outside 'apt' package dh_systemd_start inserted postinst commands in all packages, rather than just the package containing the timers. This also gets rid of postinst scripts for all other packages, yay. Closes: #862001 --- debian/rules | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 247022398..ede9591d1 100755 --- a/debian/rules +++ b/debian/rules @@ -37,7 +37,8 @@ override_dh_systemd_start: # Do not restart "apt-daily.service" because this script runs # unattended-upgrades. So if apt itself is upgraded as part of # an unattended-upgrades run it would kill itself - dh_systemd_start apt-daily.timer apt-daily-upgrade.timer + dh_systemd_start -papt apt-daily.timer apt-daily-upgrade.timer + dh_systemd_start --remaining-packages override_dh_auto_configure-arch: flags=-DWITH_DOC=OFF override_dh_auto_configure-indep: flags=-DWITH_DOC=ON -- cgit v1.2.3