diff options
| author | Félix Sipma <felix.sipma@no-log.org> | 2015-10-16 20:40:48 +0200 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2015-10-16 15:15:16 -0400 |
| commit | 51d8c2000f46b9c0a8f45ce8d927f23ef5b6193f (patch) | |
| tree | 05e0ed1b60605ca3fa136568dc018f1fecbe6771 /src/Propellor/Property/Prosody.hs | |
| parent | 7956a6f6565a44ef773df428e8eb9bdf0dbf51ed (diff) | |
convert symlink properties to File.isSymlinkedTo
Diffstat (limited to 'src/Propellor/Property/Prosody.hs')
| -rw-r--r-- | src/Propellor/Property/Prosody.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Propellor/Property/Prosody.hs b/src/Propellor/Property/Prosody.hs index 78a2c529..7dbfb1e1 100644 --- a/src/Propellor/Property/Prosody.hs +++ b/src/Propellor/Property/Prosody.hs @@ -22,8 +22,7 @@ confEnabled conf cf = enable <!> disable `onChange` reloaded where test = not <$> doesFileExist (confValPath conf) - prop = property "prosody conf in place" $ makeChange $ - createSymbolicLink target dir + prop = dir `File.isSymlinkedTo` target target = confValRelativePath conf dir = confValPath conf confValRelativePath conf' = "../conf.avail" </> conf' <.> "cfg.lua" |
