summaryrefslogtreecommitdiff
path: root/Utility/Tor.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-12-28 12:26:16 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-12-28 12:26:16 -0400
commit900c29071ad6b342be4eea00439fc355503ecbd2 (patch)
treed35adcadd1f063f1ae5b7205e82b845f18c8dd5f /Utility/Tor.hs
parent7a15547943bf87131b13804c9337eec59f9b9350 (diff)
parent68f5d56115c2e4011b9a9be7c2585c1fe43f4957 (diff)
Merge branch 'no-xmpp'
Diffstat (limited to 'Utility/Tor.hs')
-rw-r--r--Utility/Tor.hs3
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"