setup.py: always regenerate *.desktop and *.appdata.xml

otherwise we might ship outdated files
This commit is contained in:
André Apitzsch 2017-09-18 23:59:12 +02:00
parent 3e80707eee
commit 289c67fd8a
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ def merge(in_file, out_file, option, po_dir='po'):
'''
Run the msgfmt command.
'''
if (not os.path.exists(out_file) and os.path.exists(in_file)):
if os.path.exists(in_file):
cmd = (('msgfmt %(opt)s -d %(po_dir)s --template %(in_file)s '
'-o %(out_file)s') %
{'opt' : option,