mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
Merge pull request #1011 from torbsd/torbsd
DragonFly is *BSD; bringing back #716
This commit is contained in:
commit
4dd26f6d16
@ -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