summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Apt.hs
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2016-02-07 17:59:17 -0400
committerJoey Hess <joeyh@joeyh.name>2016-02-07 17:59:17 -0400
commita568c7c0367b1ef6f01d0e8e638bb0f3fc7b2cb8 (patch)
treeda2b879619a60e4aa118a7d60316c5740593d6be /src/Propellor/Property/Apt.hs
parentfcd124fe7e28e7abdfa8db15a4fbc3524aa98de0 (diff)
parent1f232b6be97c7e5480adb35811efdb9ab33ae5db (diff)
Merge branch 'joeyconfig'
Diffstat (limited to 'src/Propellor/Property/Apt.hs')
-rw-r--r--src/Propellor/Property/Apt.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Propellor/Property/Apt.hs b/src/Propellor/Property/Apt.hs
index d16c4855..f5d08c1d 100644
--- a/src/Propellor/Property/Apt.hs
+++ b/src/Propellor/Property/Apt.hs
@@ -223,6 +223,8 @@ unattendedUpgrades = enable <!> disable
enable = setup True
`before` Service.running "cron"
`before` configure
+ -- work around http://bugs.debian.org/812380
+ `before` File.notPresent "/etc/apt/apt.conf.d/50unattended-upgrades.ucf-dist"
disable = setup False
setup enabled = (if enabled then installed else removed) ["unattended-upgrades"]