summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Apt.hs
diff options
context:
space:
mode:
authorJoey Hess2014-06-05 16:39:35 -0400
committerJoey Hess2014-06-05 16:39:35 -0400
commit6dd22d3f26c348ca15bc37113686ba3e22292454 (patch)
tree3283a06e1dd96720436968f579b7798fce3ec5bf /src/Propellor/Property/Apt.hs
parentd6faa5947fc25cc7416c81671fdb334e9d971be7 (diff)
propellor spin
Diffstat (limited to 'src/Propellor/Property/Apt.hs')
-rw-r--r--src/Propellor/Property/Apt.hs7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Propellor/Property/Apt.hs b/src/Propellor/Property/Apt.hs
index 69144d72..f5dd74b5 100644
--- a/src/Propellor/Property/Apt.hs
+++ b/src/Propellor/Property/Apt.hs
@@ -214,7 +214,12 @@ unattendedUpgrades = RevertableProperty enable disable
"/etc/apt/apt.conf.d/50unattended-upgrades"
`File.containsLine`
("Unattended-Upgrade::Origins-Pattern { \"o=Debian,a="++showSuite suite++"\"; };")
- _ -> noChange
+ | otherwise -> do
+ liftIO $ print ("xxx ", suite)
+ noChange
+ _ -> do
+ liftIO $ print "xxx"
+ noChange
-- | Preseeds debconf values and reconfigures the package so it takes
-- effect.