diff options
| author | Joey Hess <joey@kitenet.net> | 2014-03-30 13:12:33 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-03-30 13:12:33 -0400 |
| commit | 8e7b296e820e7513c7846ceeb3fbd87d60bc95f4 (patch) | |
| tree | 4eb80ad32b42ee871f5704cd1af99baf9e8cacc6 /Property/Apt.hs | |
| parent | e741b7b82e0b5be2809d1da7f54d8b0fcd0449e3 (diff) | |
split out Property.FIle
Diffstat (limited to 'Property/Apt.hs')
| -rw-r--r-- | Property/Apt.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Property/Apt.hs b/Property/Apt.hs index 4d58574f..653c0fca 100644 --- a/Property/Apt.hs +++ b/Property/Apt.hs @@ -7,6 +7,7 @@ import System.IO import Control.Monad import Property +import qualified Property.File as File import Utility.SafeCommand import Utility.Process @@ -47,7 +48,7 @@ stdSourcesList :: Suite -> Property stdSourcesList = setSourcesList . debCdn setSourcesList :: [Line] -> Property -setSourcesList ls = fileHasContent sourcesList ls `onChange` update +setSourcesList ls = sourcesList `File.hasContent` ls `onChange` update runApt :: [CommandParam] -> Property runApt ps = cmdProperty' "apt-get" ps env |
