summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Apt.hs
diff options
context:
space:
mode:
authorJoey Hess2014-05-18 13:44:25 -0400
committerJoey Hess2014-05-18 13:44:28 -0400
commit227effc1ad0da4ebe4540bd1b586b6363b686dfc (patch)
treedd89a71c254ea0ca1b573ef283079b6a62e2605c /src/Propellor/Property/Apt.hs
parent617014f4881951f7b2b6e601bb86a119ad8052d7 (diff)
Fix unattended-upgrades config for !stable.
Diffstat (limited to 'src/Propellor/Property/Apt.hs')
-rw-r--r--src/Propellor/Property/Apt.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/Apt.hs b/src/Propellor/Property/Apt.hs
index 7329c7a8..c33875b0 100644
--- a/src/Propellor/Property/Apt.hs
+++ b/src/Propellor/Property/Apt.hs
@@ -213,7 +213,7 @@ unattendedUpgrades = RevertableProperty enable disable
| not (isStable suite) -> ensureProperty $
"/etc/apt/apt.conf.d/50unattended-upgrades"
`File.containsLine`
- ("\t\"o=Debian,a="++showSuite suite++"\";")
+ ("Unattended-Upgrade::Origins-Pattern { \"o=Debian,a=unstable\"; };")
_ -> noChange
-- | Preseeds debconf values and reconfigures the package so it takes