From fa4d7282306e5e217727b8a9c3c74e2a106c9427 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubom=C3=ADr=20Sedl=C3=A1=C5=99?= Date: Mon, 4 Dec 2017 11:15:44 +0100 Subject: [PATCH] Relax check for gettext MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It's only used in productimg phase. We don't have to check for it on every run. Signed-off-by: Lubomír Sedlář --- pungi/checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pungi/checks.py b/pungi/checks.py index 2cebac3f..dd8d3162 100644 --- a/pungi/checks.py +++ b/pungi/checks.py @@ -95,7 +95,7 @@ tools = [ ("isomd5sum", "/usr/bin/checkisomd5", None), ("jigdo", "/usr/bin/jigdo-lite", is_jigdo_needed), ("genisoimage", "/usr/bin/genisoimage", is_genisoimage_needed), - ("gettext", "/usr/bin/msgfmt", None), + ("gettext", "/usr/bin/msgfmt", _will_productimg_run), ("syslinux", "/usr/bin/isohybrid", is_isohybrid_needed), # createrepo, modifyrepo and mergerepo are not needed by default, only when # createrepo_c is not configured