From 14c758970d8bfef64d8c166f471c603fbc72ea2b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 18 May 2014 13:45:47 -0400 Subject: [PATCH] fix use of suite --- src/Propellor/Property/Apt.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Propellor/Property/Apt.hs b/src/Propellor/Property/Apt.hs index c33875b..b673563 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