summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Apt.hs
diff options
context:
space:
mode:
authorJoey Hess2014-05-18 13:45:47 -0400
committerJoey Hess2014-05-18 13:45:47 -0400
commit14c758970d8bfef64d8c166f471c603fbc72ea2b (patch)
treea59ba1945f27fa6941e6f9af979dfbcbab648274 /src/Propellor/Property/Apt.hs
parent227effc1ad0da4ebe4540bd1b586b6363b686dfc (diff)
fix use of suite
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 c33875b0..b673563d 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`
- ("Unattended-Upgrade::Origins-Pattern { \"o=Debian,a=unstable\"; };")
+ ("Unattended-Upgrade::Origins-Pattern { \"o=Debian,a="++suite++"\"; };")
_ -> noChange
-- | Preseeds debconf values and reconfigures the package so it takes