[util-iso] try to fix OEM branding

This commit is contained in:
Philip Müller 2019-10-10 17:10:06 +02:00
parent fb6af199e0
commit ecc7b90bec

View file

@ -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}"