summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Sbuild.hs
diff options
context:
space:
mode:
authorSean Whitton2016-05-22 08:35:58 +0900
committerSean Whitton2016-05-22 09:34:01 +0900
commit0a5bd1b3ff4f211db9d29ce2a1b9271e836268f6 (patch)
treea9f00ae1b8c899f764c83f7c9a5adc25d49fba17 /src/Propellor/Property/Sbuild.hs
parentb506db88f0914e31d3bf1d7e261bf9b375fb6d92 (diff)
hasGroupCache -> hasCache
I was originally thinking that the name `Ccache.hasCache` might be for a property `User -> Property DebianLike`. However, someone wanted to write a property configuring a user cache, it would probably have the standard location `~/.ccache`. This cache would be implicitly created when required, so the name `Ccache.hasCache` would be needed.
Diffstat (limited to 'src/Propellor/Property/Sbuild.hs')
-rw-r--r--src/Propellor/Property/Sbuild.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/Sbuild.hs b/src/Propellor/Property/Sbuild.hs
index fe22c038..df9c5a37 100644
--- a/src/Propellor/Property/Sbuild.hs
+++ b/src/Propellor/Property/Sbuild.hs
@@ -313,7 +313,7 @@ keypairGenerated = check (not <$> doesFileExist secKeyFile) $ go
-- another script from wiki.d.o/sbuild
ccachePrepared :: Property DebianLike
ccachePrepared = propertyList "sbuild group ccache configured" $ props
- & Group "sbuild" `Ccache.hasGroupCache` (Ccache.MaxSize "2G")
+ & Group "sbuild" `Ccache.hasCache` (Ccache.MaxSize "2G")
& "/etc/schroot/sbuild/fstab" `File.containsLine`
"/var/cache/ccache-sbuild /var/cache/ccache-sbuild none rw,bind 0 0"
`describe` "ccache mounted in sbuild schroots"