diff options
| author | Zihao Wang <dev@wzhd.org> | 2017-02-03 20:31:57 +0800 |
|---|---|---|
| committer | Zihao Wang <dev@wzhd.org> | 2017-02-04 09:04:56 +0800 |
| commit | 7781c8098f45481ac03c5ede989614eb8411a6aa (patch) | |
| tree | d0a5418c69693b81ef27c0eb5b0c76d38fdd2cee /src | |
| parent | 6995241840c72ad966494a780a65dd5076f2898a (diff) | |
cleanInstallOnce supports DebianLike only
because of User.shadowConfig
Signed-off-by: Zihao Wang <dev@wzhd.org>
Diffstat (limited to 'src')
| -rw-r--r-- | src/Propellor/Property/OS.hs | 2 |
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 |
