From 8e7b296e820e7513c7846ceeb3fbd87d60bc95f4 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 30 Mar 2014 13:12:33 -0400 Subject: split out Property.FIle --- Property/Apt.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Property/Apt.hs') 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 -- cgit v1.3-2-g0d8e