From ecc7b90bec45b2744da5c9a3cb904c4438263b1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20M=C3=BCller?= Date: Thu, 10 Oct 2019 17:10:06 +0200 Subject: [PATCH] [util-iso] try to fix OEM branding --- lib/util-iso.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/util-iso.sh b/lib/util-iso.sh index 2d6a5d0..e882539 100644 --- a/lib/util-iso.sh +++ b/lib/util-iso.sh @@ -317,9 +317,12 @@ make_image_desktop() { cp "${path}/desktopfs-pkgs.txt" ${iso_dir}/$(gen_iso_fn)-pkgs.txt [[ -e ${profile_dir}/desktop-overlay ]] && copy_overlay "${profile_dir}/desktop-overlay" "${path}" - if [[ ${profile} != "architect" && ${oem_used} ]]; then - configure_branding "${path}" - msg "Done [Distribution: Release ${dist_release} Codename ${dist_codename}]" + if [[ ${profile} != "architect" ]]; then + if [[ ${oem_used} ]]; then + msg "Start Calamares Branding for OEM ISO ..." + configure_branding "${path}" + msg "Done [Distribution: Release ${dist_release} Codename ${dist_codename}]" + fi fi reset_pac_conf "${path}"