mirror of
https://github.com/fergalmoran/picard.git
synced 2026-01-09 01:54:00 +00:00
Fixed wrong check of do_py2app, which prevented menu and icon files to
be installed on linux.
This commit is contained in:
2
setup.py
2
setup.py
@@ -507,7 +507,7 @@ if do_py2app:
|
||||
args['cmdclass'] = { 'py2app' : BuildAPP }
|
||||
|
||||
# FIXME: this should check for the actual command ('install' vs. 'bdist_nsis', 'py2app', ...), not installed libraries
|
||||
if py2exe is None and do_py2app is None:
|
||||
if py2exe is None and do_py2app is False:
|
||||
args['data_files'].append(('share/icons', ('picard-16.png', 'picard-32.png')))
|
||||
args['data_files'].append(('share/applications', ('picard.desktop',)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user