summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/OS.hs
diff options
context:
space:
mode:
authorZihao Wang2017-02-03 20:31:57 +0800
committerZihao Wang2017-02-04 09:04:56 +0800
commit7781c8098f45481ac03c5ede989614eb8411a6aa (patch)
treed0a5418c69693b81ef27c0eb5b0c76d38fdd2cee /src/Propellor/Property/OS.hs
parent6995241840c72ad966494a780a65dd5076f2898a (diff)
cleanInstallOnce supports DebianLike only
because of User.shadowConfig Signed-off-by: Zihao Wang <dev@wzhd.org>
Diffstat (limited to 'src/Propellor/Property/OS.hs')
-rw-r--r--src/Propellor/Property/OS.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/OS.hs b/src/Propellor/Property/OS.hs
index d974cfbc..10d7afc0 100644
--- a/src/Propellor/Property/OS.hs
+++ b/src/Propellor/Property/OS.hs
@@ -64,7 +64,7 @@ import Control.Exception (throw)
-- > & User.accountFor "joey"
-- > & User.hasSomePassword "joey"
-- > -- rest of system properties here
-cleanInstallOnce :: Confirmation -> Property Linux
+cleanInstallOnce :: Confirmation -> Property DebianLike
cleanInstallOnce confirmation = check (not <$> doesFileExist flagfile) $
go `requires` confirmed "clean install confirmed" confirmation
where