diff options
| author | Sean Whitton <spwhitton@spwhitton.name> | 2016-05-21 20:09:31 +0900 |
|---|---|---|
| committer | Sean Whitton <spwhitton@spwhitton.name> | 2016-05-21 20:09:31 +0900 |
| commit | 4a53b158a2b6ca5e64f45058b2e26fe0a0c579e9 (patch) | |
| tree | e989ae54936c1b281465594fd887aefcb94e9180 /src/Propellor/Property/Ccache.hs | |
| parent | 10f3c2db21a4b5c53d2575977cc1228fb71c9bc8 (diff) | |
update Sbuild.hs for new Ccache.hs
Diffstat (limited to 'src/Propellor/Property/Ccache.hs')
| -rw-r--r-- | src/Propellor/Property/Ccache.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Propellor/Property/Ccache.hs b/src/Propellor/Property/Ccache.hs index d9b2e458..45208508 100644 --- a/src/Propellor/Property/Ccache.hs +++ b/src/Propellor/Property/Ccache.hs @@ -10,7 +10,7 @@ import Utility.FileMode import System.Posix.Files -- | Limits on the size of a ccache -data CcacheLimit +data Limit -- | The maximum size of the cache, as a string such as "4G" -- -- See ccache(1) for more on the size specification. @@ -33,7 +33,7 @@ data CcacheLimit -- wish to limit both the maximum size of the cache and the maximum number of -- files in the cache. However, setting only one of these two limits is -- generally sufficient. -hasGroupCache :: Group -> CcacheLimit -> RevertableProperty DebianLike UnixLike +hasGroupCache :: Group -> Limit -> RevertableProperty DebianLike UnixLike group@(Group g) `hasGroupCache` limit = (make `requires` installed) <!> delete where make = propertyList ("ccache for " ++ g ++ " exists") $ props |
