summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2017-05-07 12:17:05 +0200
committerJulian Andres Klode <jak@debian.org>2017-05-07 12:23:23 +0200
commit315d6aac02b657a4742b5fe2695707904c6033dd (patch)
tree719503d0a9e2d76c3bd1940b97cc4fa11131392f /debian/rules
parent1179ac70e9ad100d507c276e6d8de1f9aba08104 (diff)
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
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules3
1 files changed, 2 insertions, 1 deletions
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