mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-27 08:19:41 -05:00
DragonFly is *BSD; bringing back #716
This commit is contained in:
parent
9a327f26ea
commit
04acf849d6
@ -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
|
||||
|
2
setup.py
2
setup.py
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user