[util-iso] fix branding in live

This commit is contained in:
Philip Müller 2022-08-29 15:44:36 +02:00
parent 62db7160d5
commit caf60645ce

View file

@ -402,9 +402,12 @@ make_image_live() {
copy_overlay "${profile_dir}/live-overlay" "${path}" copy_overlay "${profile_dir}/live-overlay" "${path}"
configure_live_image "${path}" configure_live_image "${path}"
if [[ -e "${path}/usr/share/calamares/branding/manjaro/branding.desc" ]]; then if [[ -e "${path}/usr/share/calamares/branding/manjaro/calamares-sidebar.qml" ]]; then
configure_branding "${path}" configure_branding "${path}"
msg "Done [Distribution: Release ${dist_release} Codename ${dist_codename}]" msg "Done [Distribution: Release ${dist_release} Codename ${dist_codename}]"
elif [[ -e "${path}/usr/share/calamares/branding/manjaro/show.qml" ]]; then
configure_branding_old "${path}"
msg "Done [Distribution: Release ${dist_release} Codename ${dist_codename}]"
fi fi
configure_polkit_user_rules "${path}" configure_polkit_user_rules "${path}"