summaryrefslogtreecommitdiff
path: root/Property/Apt.hs
diff options
context:
space:
mode:
authorJoey Hess2014-03-30 13:12:33 -0400
committerJoey Hess2014-03-30 13:12:33 -0400
commit8e7b296e820e7513c7846ceeb3fbd87d60bc95f4 (patch)
tree4eb80ad32b42ee871f5704cd1af99baf9e8cacc6 /Property/Apt.hs
parente741b7b82e0b5be2809d1da7f54d8b0fcd0449e3 (diff)
split out Property.FIle
Diffstat (limited to 'Property/Apt.hs')
-rw-r--r--Property/Apt.hs3
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