From 7eaf036289b53a17ebdffc38a449fe23b99ed057 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Tue, 2 May 2023 09:30:07 +0200 Subject: [PATCH] ensure that fix_permissions.sh is not called on Windows --- src/product.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/product.py b/src/product.py index ffc75c9..28948da 100644 --- a/src/product.py +++ b/src/product.py @@ -1154,7 +1154,7 @@ def product_has_post_script(product_info): :return: True if the product has one or more patches :rtype: boolean """ - res = ( "post_script" in product_info and len(product_info.post_script) > 0 ) + res = ( "post_script" in product_info and len(product_info.post_script) > 0 and not src.architecture.is_windows()) return res def product_has_logo(product_info): -- 2.30.2