summaryrefslogtreecommitdiff
path: root/Property
diff options
context:
space:
mode:
authorJoey Hess2014-03-30 00:08:02 -0400
committerJoey Hess2014-03-30 00:08:02 -0400
commit92957b27ece2d4fb2eb4ce9121dd26ee94985b48 (patch)
treec25c4dbd5d497958ba011ad7382ab92fc3cc8f45 /Property
parent0ab0216d0b400fae78a6a6916ef9f82ed31dc0fa (diff)
cabalized and added a wrapper program
Diffstat (limited to 'Property')
-rw-r--r--Property/Apt.hs1
-rw-r--r--Property/Hostname.hs7
-rw-r--r--Property/User.hs1
3 files changed, 1 insertions, 8 deletions
diff --git a/Property/Apt.hs b/Property/Apt.hs
index 5f6f75e3..d9d4ed27 100644
--- a/Property/Apt.hs
+++ b/Property/Apt.hs
@@ -31,6 +31,7 @@ srcLine l = case words l of
("deb":rest) -> unwords $ "deb-src" : rest
_ -> ""
+stdSections :: [Section]
stdSections = ["main", "contrib", "non-free"]
debCdn :: Suite -> [Line]
diff --git a/Property/Hostname.hs b/Property/Hostname.hs
index b4c28a2b..03293eb1 100644
--- a/Property/Hostname.hs
+++ b/Property/Hostname.hs
@@ -1,13 +1,6 @@
module Property.Hostname where
-import Data.List
-import System.Posix
-import Control.Applicative
-import Data.Maybe
-
import Property
-import Utility.SafeCommand
-import Utility.Exception
type HostName = String
diff --git a/Property/User.hs b/Property/User.hs
index f43c9b20..3ab5f570 100644
--- a/Property/User.hs
+++ b/Property/User.hs
@@ -1,6 +1,5 @@
module Property.User where
-import Data.List
import System.Posix
import Control.Applicative
import Data.Maybe