summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Apt.hs
diff options
context:
space:
mode:
authorJoey Hess2014-06-10 15:50:42 -0400
committerJoey Hess2014-06-10 15:50:42 -0400
commit28a80c4c487460129e0a2b30d4b4e4c0b49026b9 (patch)
treefb4636c86ce8ff8177fe0036b8e58b136cdd8556 /src/Propellor/Property/Apt.hs
parente6674e07f5975a658600a36fcb0296a006c58e4f (diff)
cacheCleaned is trivial
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 17057af2..7e02a335 100644
--- a/src/Propellor/Property/Apt.hs
+++ b/src/Propellor/Property/Apt.hs
@@ -265,5 +265,5 @@ trustsKey k = RevertableProperty trust untrust
-- | Cleans apt's cache of downloaded packages to avoid using up disk
-- space.
cacheCleaned :: Property
-cacheCleaned = cmdProperty "apt-get" ["clean"]
+cacheCleaned = trivial $ cmdProperty "apt-get" ["clean"]
`describe` "apt cache cleaned"