summaryrefslogtreecommitdiff
path: root/Property/Apt.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Property/Apt.hs')
-rw-r--r--Property/Apt.hs7
1 files changed, 3 insertions, 4 deletions
diff --git a/Property/Apt.hs b/Property/Apt.hs
index 653c0fca..a5720e72 100644
--- a/Property/Apt.hs
+++ b/Property/Apt.hs
@@ -6,10 +6,9 @@ import Data.List
import System.IO
import Control.Monad
-import Property
+import Common
import qualified Property.File as File
-import Utility.SafeCommand
-import Utility.Process
+import Property.File (Line)
sourcesList :: FilePath
sourcesList = "/etc/apt/sources.list"
@@ -109,7 +108,7 @@ unattendedUpgrades enabled = installed ["unattended-upgrades"]
reConfigure :: Package -> [(String, String, String)] -> Property
reConfigure package vals = reconfigure `requires` setselections
where
- setselections = IOProperty "preseed" $ makeChange $
+ setselections = Property "preseed" $ makeChange $
withHandle StdinHandle createProcessSuccess
(proc "debconf-set-selections" []) $ \h -> do
forM_ vals $ \(template, tmpltype, value) ->