From 227effc1ad0da4ebe4540bd1b586b6363b686dfc Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 18 May 2014 13:44:25 -0400 Subject: Fix unattended-upgrades config for !stable. --- src/Propellor/Property/Apt.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3