DragonFly is *BSD; bringing back #716

This commit is contained in:
Vinicius Zavam 2019-07-23 15:09:11 +00:00
parent 9a327f26ea
commit 04acf849d6
No known key found for this signature in database
GPG Key ID: B805E8715340DB77
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ class Common(object):
# The platform OnionShare is running on
self.platform = platform.system()
if self.platform.endswith('BSD'):
if self.platform.endswith('BSD') or self.platform == 'DragonFly':
self.platform = 'BSD'
# The current version of OnionShare

View File

@ -74,7 +74,7 @@ data_files=[
(os.path.join(sys.prefix, 'share/onionshare/static/img'), file_list('share/static/img')),
(os.path.join(sys.prefix, 'share/onionshare/static/js'), file_list('share/static/js'))
]
if platform.system() != 'OpenBSD':
if not platform.system().endswith('BSD') and platform.system() != 'DragonFly':
data_files.append(('/usr/share/nautilus-python/extensions/', ['install/scripts/onionshare-nautilus.py']))
setup(