Fixed wrong check of do_py2app, which prevented menu and icon files to

be installed on linux.
This commit is contained in:
Philipp Wolfer
2008-07-28 03:21:27 +02:00
parent d02a831b3f
commit f64d7df593

View File

@@ -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',)))