diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-12-24 17:08:03 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-12-24 17:08:03 -0400 |
commit | fc5323ce2b17e86feefec668edc811d4ecbab726 (patch) | |
tree | b858898ba87056cce01eb9e8501aa7d124eb7778 /Utility/Tor.hs | |
parent | dfe5f77420d0e0ae2c943926d78df8c6c037ba6f (diff) |
webapp: check that tor and magic wormhole are installed
Diffstat (limited to 'Utility/Tor.hs')
-rw-r--r-- | Utility/Tor.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Utility/Tor.hs b/Utility/Tor.hs index 4e7c0ef43..37fbabd40 100644 --- a/Utility/Tor.hs +++ b/Utility/Tor.hs @@ -161,3 +161,6 @@ torLibDir = "/var/lib/tor" varLibDir :: FilePath varLibDir = "/var/lib" + +torIsInstalled :: IO Bool +torIsInstalled = inPath "tor" |