From b8e683d0b15f8eb30bba1fdc32fe15022b21bc37 Mon Sep 17 00:00:00 2001 From: crouzet Date: Fri, 9 Dec 2022 15:47:11 +0100 Subject: [PATCH] =?utf8?q?limite=20la=20fonctionnalit=C3=A9=20post=5Fscrip?= =?utf8?q?t=20=C3=A0=20Linux=20car=20pas=20utile=20sous=20windows?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/product.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/product.py b/src/product.py index ffc75c9..e1c5893 100644 --- a/src/product.py +++ b/src/product.py @@ -1154,6 +1154,9 @@ def product_has_post_script(product_info): :return: True if the product has one or more patches :rtype: boolean """ + is src.architecture.is_windows(): +# post install scripts are not necessary on windows + return False res = ( "post_script" in product_info and len(product_info.post_script) > 0 ) return res -- 2.39.2