From 8a905bc04c40cfb96824834d539c69fb10ea4655 Mon Sep 17 00:00:00 2001 From: wondratsch Date: Thu, 7 Dec 2017 11:51:32 +0100 Subject: [PATCH] add FreeBSD Support --- onionshare/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onionshare/common.py b/onionshare/common.py index 26b949ff..066753a4 100644 --- a/onionshare/common.py +++ b/onionshare/common.py @@ -104,7 +104,7 @@ def get_tor_paths(): tor_path = os.path.join(base_path, 'Resources', 'Tor', 'tor') tor_geo_ip_file_path = os.path.join(base_path, 'Resources', 'Tor', 'geoip') tor_geo_ipv6_file_path = os.path.join(base_path, 'Resources', 'Tor', 'geoip6') - elif p == 'OpenBSD': + elif p == 'OpenBSD' or p == 'FreeBSD': tor_path = '/usr/local/bin/tor' tor_geo_ip_file_path = '/usr/local/share/tor/geoip' tor_geo_ipv6_file_path = '/usr/local/share/tor/geoip6'