diff options
| author | Joey Hess <joey@kitenet.net> | 2014-05-18 13:44:25 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-05-18 13:44:28 -0400 |
| commit | 227effc1ad0da4ebe4540bd1b586b6363b686dfc (patch) | |
| tree | dd89a71c254ea0ca1b573ef283079b6a62e2605c | |
| parent | 617014f4881951f7b2b6e601bb86a119ad8052d7 (diff) | |
Fix unattended-upgrades config for !stable.
| -rw-r--r-- | debian/changelog | 6 | ||||
| -rw-r--r-- | src/Propellor/Property/Apt.hs | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index 16ababc2..70d66e0a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +propellor (0.5.3) UNRELEASED; urgency=medium + + * Fix unattended-upgrades config for !stable. + + -- Joey Hess <joeyh@debian.org> Sun, 18 May 2014 13:44:00 -0400 + propellor (0.5.2) unstable; urgency=medium * A bug that caused propellor to hang when updating a running docker 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 |
