From 289c67fd8a590e65f335135a3a09f9ba6b00887a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Apitzsch?= Date: Mon, 18 Sep 2017 23:59:12 +0200 Subject: [PATCH] setup.py: always regenerate *.desktop and *.appdata.xml otherwise we might ship outdated files --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 4d3238beb..32621c8b8 100644 --- a/setup.py +++ b/setup.py @@ -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,