diff options
-rw-r--r-- | Utility/Tor.hs | 3 | ||||
-rw-r--r-- | git-annex.cabal | 2 |
2 files changed, 5 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" diff --git a/git-annex.cabal b/git-annex.cabal index f6a4e1660..f2ba88979 100644 --- a/git-annex.cabal +++ b/git-annex.cabal @@ -227,6 +227,8 @@ Extra-Source-Files: templates/configurators/rsync.net/encrypt.hamlet templates/configurators/gitlab.com/add.hamlet templates/configurators/needgcrypt.hamlet + templates/configurators/needtor.hamlet + templates/configurators/needmagicwormhole.hamlet templates/configurators/enabledirectory.hamlet templates/configurators/fsck/status.hamlet templates/configurators/fsck/form.hamlet |