]> git.saurik.com Git - apt.git/blobdiff - debian/rules
Avoid wedging the entire system if recoverable :/.
[apt.git] / debian / rules
index 2f1ea45fceeec240585953975fb10707ee1628af..62d913f0aafe29d2b2ab5913054fbc67c5e88f39 100755 (executable)
@@ -29,6 +29,11 @@ override_dh_gencontrol:
 override_dh_installcron:
        dh_installcron --name=apt-compat
 
 override_dh_installcron:
        dh_installcron --name=apt-compat
 
+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
 
 override_dh_auto_configure-arch: flags=-DWITH_DOC=OFF
 override_dh_auto_configure-indep: flags=-DWITH_DOC=ON
 
 override_dh_auto_configure-arch: flags=-DWITH_DOC=OFF
 override_dh_auto_configure-indep: flags=-DWITH_DOC=ON